CSP Nonces versus Hashes: Shipping a Policy That Survives a Real Frontend Build
How to ban unsafe-inline without breaking React and Angular, when hashes beat nonces, and the report-only rollout that does not brick production.
4 min read
Tag
2 articles · 8 min of reading
How to ban unsafe-inline without breaking React and Angular, when hashes beat nonces, and the report-only rollout that does not brick production.
React, Vue, and Angular auto-escape by default, but every one of them has an escape hatch that reintroduces XSS — here's where those hatches hide.