All vulnerabilities

Web browsers

CVE-2018-5175

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…

Severity
Medium 6.1
Published
11 Jun 2018
Last changed
17 Jun 2026
Added to UpHeron
17 Nov 2026
Fixed in
60.0
Exploit chance
1.4% in the next 30 daysHigher than 73% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · No login needed · Needs someone to click or open something
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Sources
NVD

Description

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.

From NVD.

Affected software

SoftwareAffected versions
Mozilla FirefoxWeb browsers · cpe:a:mozilla:firefox
  • Every version before 60.0

About Mozilla Firefox

Release lines

ReleaseLatestSecurity fixes
160160.0Until 24 Nov 2026
159159.0.1Ended 10 Nov 2026
158158.0.1Ended 27 Oct 2026
157157.0.1Ended 13 Oct 2026
156156.0.1Ended 29 Sept 2026
155155.0.1Ended 15 Sept 2026

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2018-5175
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2018-5175