CVE-2018-5175: canonical ubuntu_linux Cross-site Scripting
Vulnerability summary
CVE-2018-5175 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in canonical ubuntu_linux. EPSS estimates a 1.43% chance of exploitation in the next 30 days, higher than 72.4% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 4 · Related 4Timeline
- 11-06-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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 metrics
3 scores · 2 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
1.43%
Chance of exploitation in the next 30 days
Percentile
72%
Versus all other CVEs
30-day change
-0.03 pp
From 1.45% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Canonical1 product
- ubuntu_linuxEOL14.04 | 16.04 | 17.10 | 18.04
Mozilla1 product
- firefox≥ unspecified, < 60 | < 60.0
Ubuntu1 product
- firefox< 60.0+build2-0ubuntu0.14.04.1 | < 60.0+build2-0ubuntu0.16.04.1 | < 60.0+build2-0ubuntu1
3 vendors · 3 products
References
9 links- bugzilla.mozilla.org/show_bug.cgi?id=1432358X Refsource CONFIRMIssue TrackingPermissions RequiredVendor Advisory