~/talk

The Last XSS Defense Talk

Talkat NDC Porto 2022 · 2022-04-25..04-29· [security, web-platform]
slides:none on file

Explains why output-side defenses beat input filtering at scale and gives concrete fixes: use context-aware encoding for HTML/attribute/JS/url, apply DOMPurify or server-side Java/.NET sanitizers for WYSIWYG HTML, reject javascript: URLs in hrefs, and enforce nonce-based CSP or strict-dynamic patterns for scripts. Demonstrates rescuing large jQuery codebases by sanitizing thousands of sites, shows how Trusted Types blocks unsafe DOM APIs, and recommends iframe sandboxing for untrusted third-party widgets.

AI-written summary · about

  1. 0:00Start
  2. 1:59Bonus
  3. 2:29What Is Xss
  4. 4:53How Do We Test for Cross-Site Scripting
  5. 9:29Keystroke Logger
  6. 16:27Ensure all Protection from Xss Is Done at the Ui Layer
  7. 26:41Be Careful of Angular Bypass Security Functions
  8. 28:11Html Rendering
  9. 32:07Javascript Functions
  10. 33:20Why Is Inner Html So Dangerous
  11. 35:19Jquery
  12. 42:30Iframe Sandbox
  13. 43:57Content Security Policy
  14. 55:47Csp Hashes
~/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.