Improper Input Validation Affecting mozilla package, versions [,60.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.15% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-MOZILLA-2378703
  • published26 Jan 2022
  • disclosed11 Jun 2018
  • creditUnknown

Introduced: 11 Jun 2018

CVE-2018-5175  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade mozilla to version 60.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. 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 Scores

version 3.1