CVE-2018-5175Cross-site Scripting in Mozilla Firefox

CWE-79Cross-site Scripting11 documents7 sources
Severity
6.1MEDIUMNVD
OSV9.8
EPSS
0.6%
top 31.26%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJun 11
Latest updateMay 13

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.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitability: 2.8 | Impact: 2.7

Affected Packages4 packages

debiandebian/firefox< firefox 60.0-1 (sid)
CVEListV5mozilla/firefoxunspecified60
NVDmozilla/firefox< 60.0
Ubuntumozilla/firefox< 60.0+build2-0ubuntu0.14.04.1+5

Also affects: Ubuntu Linux 14.04, 16.04, 17.10, 18.04

🔴Vulnerability Details

4
GHSA
GHSA-c5vx-c657-hmcm: A mechanism to bypass Content Security Policy (CSP) protections on sites that have a "script-src" policy of "'strict-dynamic'"2022-05-13
OSV
firefox regression2018-05-18
OSV
firefox vulnerabilities2018-05-11
OSV
CVE-2018-5175: A mechanism to bypass Content Security Policy (CSP) protections on sites that have a "script-src" policy of "'strict-dynamic'"2018-05-11

📋Vendor Advisories

4
Ubuntu
Firefox regression2018-05-18
Ubuntu
Firefox vulnerabilities2018-05-11
Red Hat
Mozilla: Universal CSP bypass on sites using strict-dynamic in their policies2018-05-09
Debian
CVE-2018-5175: firefox - A mechanism to bypass Content Security Policy (CSP) protections on sites that ha...2018

💬Community

2
Bugzilla
Reflected XSS on resource:// by accessing error page templates in Fenix directly2020-08-14
Bugzilla
CVE-2018-5175 Mozilla: Universal CSP bypass on sites using strict-dynamic in their policies2018-05-09