~/talk

XSS mitigation: the state of the art

Talkat BSidesSF 2022 · 2022-06-04..06-05· [web-platform, security]
links:none on file
slides:none on file

Demos show an attacker using BeEF payloads against a Ghost blog to add an admin user and enumerate browser info, then a defensive stack that blocks the same exploit: CSP with nonces, a Trusted Types policy named mypolicy, and sanitization via DOMPurify so innerHTML assignments fail unless passed through the policy. Talk covers CSP reporting, SRI, HTTPOnly/Secure cookies, static analysis limits in JS, and runtime/APM instrumentation as practical mitigations.

AI-written summary · about

  1. 0:00Introduction and speakers
  2. 1:04XSS attack refresher
  3. 2:50XSS attack categories
  4. 4:15Web security model basics
  5. 5:39XSS exploitation outcomes
  6. 7:05Real-world XSS attacks
  7. 9:51Modern XSS bypasses
  8. 11:17Live XSS exploitation demo
  9. 14:07Browser-side XSS protections
  10. 18:25Trusted Types explained
  11. 20:53Live XSS mitigation demo
  12. 28:03Cookie security best practices
  13. 29:47Future of browser defenses
  14. 34:02Server-side XSS prevention
  15. 37:32React’s XSS mitigations
  16. 39:19Static analysis tools
  17. 42:48Threat modeling approach
  18. 46:46Defense in depth summary
  19. 47:27Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.