Web Hacking Members Only

Single Page App Security

SPAs push a huge surface into the browser, and every server-side mental model breaks on the way. Route guards aren't auth, tokens in localStorage are XSS-readable, dangerouslySetInnerHTML throws away sanitization, postMessage trusts every frame. How SPAs actually leak, one pitfall at a time.

Related Articles