~/talk

What is an XSS attack - and why should you care?

Talkat ReactConf AU 2020 · 2020-02-27..02-28· [security, react]
slides:none on file

Explains that React auto-escapes props but dangerouslySetInnerHTML bypasses that and allows injected HTML and script, demonstrates a fake Twitter clone injected into comments, uses an onerror image fetch to post document.cookie to an attacker endpoint, and shows a stolen cookies DB with one captured cookie — the exploit works end to end. Recommends removing or sanitizing inputs (frontend and backend) and adding linting to detect unsafe usage.

AI-written summary · about

~/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.