CVE-2018-5175

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.

Category

6.1
CVSS
Severity: Medium
CVSS 3.0 •
CVSS 2.0 •
EPSS 0.77% Top 30%
Vendor Advisory ubuntu.com Vendor Advisory mozilla.org Vendor Advisory mozilla.org
Affected: Mozilla Firefox
Published at:
Updated at:

References

Link Tags
https://www.mozilla.org/security/advisories/mfsa2018-11/ vendor advisory
http://www.securitytracker.com/id/1040896 vdb entry third party advisory
https://bugzilla.mozilla.org/show_bug.cgi?id=1432358 issue tracking permissions required vendor advisory
https://usn.ubuntu.com/3645-1/ third party advisory vendor advisory
http://www.securityfocus.com/bid/104139 vdb entry third party advisory

Frequently Asked Questions

What is the severity of CVE-2018-5175?
CVE-2018-5175 has been scored as a medium severity vulnerability.
How to fix CVE-2018-5175?
To fix CVE-2018-5175, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2018-5175 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2018-5175 is being actively exploited. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2018-5175?
CVE-2018-5175 affects Mozilla Firefox.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.