~/talk

The Last XSS Defense Talk: Why XSS Defense has radically changed in the past 7 years

slides:none on file

XSS remains pervasive and hard to fix; defense shifts from vague advice to concrete tactics: use DomPurify to wrap dangerous innerHTML (one auditor locks down ~3000 sinks in a day), prefer contextual escaping at render time not before DB storage, avoid server‑side React/Angular rendering to prevent template injection, treat HTTPOnly is almost useless against in‑site AJAX, never use eval or JSON.stringify for embedded JSON, sandbox third‑party ads in iframes, and deploy strict-dynamic CSP with nonces for modern browsers while falling back safely for older ones.

AI-written summary · about

  1. 0:00Introduction to XSS
  2. 2:14Understanding XSS attacks
  3. 4:09The limitations of defense
  4. 7:20Impact and severity of XSS
  5. 9:22Contextual output escaping
  6. 12:09Advanced defensive patterns
  7. 17:02HTML and DOM sanitization
  8. 21:55Safe DOM interactions
  9. 25:19Secure JSON handling
  10. 26:51Sandboxing dangerous content
  11. 28:40Content Security Policy
  12. 33:25Q&A and closing thoughts
~/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.