~/talk

You thought your React application is secure? Think again

Talkat React Finland 2021 · 2021-08-30..09-03· [security, react]
slides:none on file

React is mostly secure by default but concrete failures happen: injecting a javascript:alert payload into an href attribute bypasses React’s output encoding; control characters and case tricks defeat naive string checks; a real vulnerable version of react-json-pretty renders unescaped HTML via dangerouslySetInnerHTML, turning a published package into an XSS vector. Fixes are specific: validate/normalize URL schemes, URL-encode hrefs, avoid dangerouslySetInnerHTML, run SAST and DAST tools (Snyk or npm audit plus OWASP ZAP) and track dependency fixes.

AI-written summary · about

  1. 0:00Start
  2. 2:51Introduction to Cross-Site Scripting
  3. 5:09Live Coding
  4. 8:19Javascript Alert
  5. 34:06Static Application Security Scanners
  6. 35:15Dynamic Application Security Testing
  7. 39:14React Security Linter
~/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.