Cross-Site Scripting
Content Security Policy and CSP Bypass
CSP is the browser's XSS firewall. Learn how it works, why it gets misconfigured, and how attackers bypass it through JSONP, open redirects, and trusted CDNs.
Advanced50 min7 lessons1 hands-on
First lesson free. The full module is part of Pro.
You'll be able to
- ✓Read and interpret a Content-Security-Policy header
- ✓Identify common CSP misconfigurations that allow script execution
- ✓Bypass CSP using JSONP endpoints, unsafe-inline, and script gadgets
- ✓Understand why CSP is a mitigation, not a silver bullet
