~/talk

Let me show you how React applications get hacked in the real-world

Talkat Voxxed Days Bucharest 2022 · 2022-03-23..03-25· [react, security]
slides:none on file

React is mostly safe by output-encoding text but fails on specific APIs and libraries: live demos turn a database Twitter link into javascript:alert(1) via an unencoded href attribute, and naive fixes using indexOf/toLowerCase are bypassed with control characters. A popular unmaintained component react-json-pretty with ~40k downloads renders attacker-controlled package.json and produces XSS. Automated npm audit misses it; the talk uses live coding, GitHub Copilot hiccups, and the tool Sneak to find the vulnerable code.

AI-written summary · about

  1. 0:00React security gaps
  2. 2:11React not fully secure
  3. 3:36Secure by default in React
  4. 6:05Live XSS demo in React
  5. 9:20Href bypasses React encoding
  6. 14:18Manual sanitization pitfalls
  7. 15:43Third-party React risks
  8. 19:10Secure React takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.