CVE-2018-5175

published 11 Jun 2018 · updated 5 Aug 2024

A mechanism to bypass Content Security Policy (CSP) protections on sites that have a "script-src" policy of "'strict-dynamic'"

5.0MediumEPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Firefox 60.

A mechanism to bypass Content Security Policy (CSP) protections on sites that have a "script-src" policy of "'strict-dynamic'". If a target website contains an HTML injection flaw an attacker could inject a reference to a copy of the "require.js" library that is part of Firefox's Developer Tools, and then use a known technique using that library to bypass the CSP restrictions on executing injected scripts. This vulnerability affects Firefox < 60.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MozillaFirefox<6060

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Firefox, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2018-5175 severity on Zeptric[![CVE-2018-5175](https://zeptric.io/badge/cve/CVE-2018-5175.svg)](https://zeptric.io/cve/CVE-2018-5175)