Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles
Use content security policy to mitigate cross-site scripting attacks by only allowing certain types of resources. CSP 2 adds hash-source and nonce-source to the list of supported directives, as well as five new directives.
Last updated on : 2023-03-20
Browser Versions
IE
Edge
Firefox
Chrome
Safari
Opera
Fully Supported
Partially
No Support
Content Security Policy Level 2 on IE is not supported on any IE versions.
Content Security Policy Level 2 on Edge is fully supported on 79-111, partially supported on 15-18, and not supported on 12-14 Edge versions.
Content Security Policy Level 2 on Firefox is fully supported on 101-113, partially supported on 31-100, and not supported on 2-30 Firefox versions.
Content Security Policy Level 2 on Chrome is fully supported on 40-114, partially supported on 36-39, and not supported on 4-35 Chrome versions.
Content Security Policy Level 2 on Safari is fully supported on 10-16.4, and not supported on 3.2-9 Safari versions.
Content Security Policy Level 2 on Opera is fully supported on 27-95, partially supported on 23-26, and not supported on 9.5-22 Opera versions.
Content Security Policy Level 2 on Safari on iOS is fully supported on 10-16.4, and not supported on 3.2-9 Safari on iOS versions.
Content Security Policy Level 2 on Android Browser is fully supported on 97-111, and not supported on 2.1-4 Android Browser versions.
Content Security Policy Level 2 on Opera Mobile is fully supported on 64-73, and not supported on 10-12 Opera Mobile versions.
Content Security Policy Level 2 on Chrome for Android is fully supported on all Chrome for Android versions.
Content Security Policy Level 2 on Firefox for Android is fully supported on 98-110 and partially supported on 95-96 Firefox for Android versions.
Content Security Policy Level 2 on Samsung Internet is fully supported on all Samsung Internet versions.
Data sourced from
Overall Browser Compatibility Score
Note:Content Security Policy Level 2 shows a browser compatibility score of 92. This is a collective score out of 100 to represent browser support of a web technology. The higher this score is, the greater is the browser compatibility. The browser compatibility score is not a 100% reflection for every browser and the web technology support. However, it does give you an estimate on how much you should rely on a particular web technology in terms of browser compatibility.
Test on 3000+ browsers for Content Security Policy Level 2 & more
Test your website for Content Security Policy Level 2 and other web technologies. Get 100 FREE automation test minutes!
Test NowKaneAI - Testing Assistant
World’s first AI-Powered E2E testing agent.
Did you find this page helpful?