~/talk

DOM XSS Protection at Scale

Talkat Frontrunners 2024 · on Friday, 2024-03-08· [security, web-platform]
slides:none on file

Claims that Trusted Types plus a rollout pipeline eliminates DOM XSS at scale, with Google reporting zero DOM XSS across hundreds of apps serving billions of users. Practical tools are CSP with required-trusted-types-for, runtime trusted types policies, a safe-values library and t-c static checks. Built pieces include reporting endpoints, DevTools violation tracing, legacy/reviewed conversions, default-policy fallbacks and occasional forked patches for dependencies; enforcement mode blocks bad assignments and reporting mode lets teams triage before switching to enforcement.

AI-written summary · about

  1. 0:00Introduction
  2. 1:48DOM XSS critical issue
  3. 4:16DOM-based XSS vulnerabilities
  4. 8:08Trusted Types mitigate DOM XSS
  5. 11:41Building Trusted Types apps
  6. 15:11Refactoring apps for Trusted Types
  7. 21:26Debugging Trusted Types violations
  8. 27:48Third-party dependencies in Trusted Types
  9. 32:26Key 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.