Skip to main content
← All vulnerabilities
CVE-2018-5175

A mechanism to bypass Content Security Policy (CSP) protections on sites that have a "script-src" policy of "'strict-dynamic'".

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 60
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Mozilla Firefox

    fixed in 60

References 5

mozilla.org

securitytracker.com

bugzilla.mozilla.org

usn.ubuntu.com

securityfocus.com