CVE-2018-5175

Mozilla: Universal CSP bypass on sites using strict-dynamic in their policies

Published Jun 11, 2018 CVSS 3.0 · 6.1 Medium EPSS 1.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2018-16960 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.
Ubuntu USN Ubuntu USN USN-3645-1 Firefox vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mozilla
Published
Updated
Aug 5, 2024, 5:26 AM
Reserved
Jan 3, 2018, 12:00 AM
Status
Modified
Published
Jun 11, 2018, 9:29 PM
Modified
Jun 17, 2026, 1:59 AM
Severity
Moderate
Public date
May 9, 2018, 12:00 AM