Configuration Override Affecting helmet-csp package, versions >=1.2.2 <2.9.2


Severity

Recommended
0.0
medium
0
10

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

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-JS-HELMETCSP-469436
  • published29 Sept 2019
  • disclosed20 Sept 2019
  • creditWilliam Durand

Introduced: 20 Sep 2019

CVE NOT AVAILABLE CWE-16  (opens in a new tab)

How to fix?

Upgrade helmet-csp to version 2.9.2 or higher.

Overview

helmet-csp is a Content Security Policy that helps prevent unwanted content being injected into your webpages.

Affected versions of this package are vulnerable to Configuration Override affecting the application's Content Security Policy (CSP). It's browser sniffing for Firefox deletes the default-src CSP policy, which is the fallback policy. This allows an attacker to remove an application's default CSP.

CVSS Scores

version 3.1