XSS in Mozilla Firefox
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 injected scripts. This vulnerability affects Firefox < 60.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.015 (70.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
Affected products
- Mozilla Firefox — versions unspecified
- Canonical Ubuntu_linux — versions 14.04, 16.04, 17.10
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security@mozilla.org (x_refsource_CONFIRM, Vendor Advisory)
- security@mozilla.org (VDB Entry, Third Party Advisory, vdb-entry, x_refsource_SECTRACK)
- security@mozilla.org (Vendor Advisory, Permissions Required, x_refsource_CONFIRM, Issue Tracking)
- security@mozilla.org (x_refsource_UBUNTU, vendor-advisory, Third Party Advisory)
- security@mozilla.org (VDB Entry, Third Party Advisory, vdb-entry, x_refsource_BID)
Frequently asked questions
- What is CVE-2018-5175?
- CVE-2018-5175 is a medium-severity vulnerability in Mozilla Firefox, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2018-06-11.
- How severe is CVE-2018-5175?
- Medium severity. CVSS v3 base score is 6.1 out of 10.
- Is CVE-2018-5175 known to be exploited?
- 5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.