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


0.0
medium

Snyk CVSS

    Attack Complexity Low

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 ID SNYK-JS-HELMETCSP-469436
  • published 29 Sep 2019
  • disclosed 20 Sep 2019
  • credit William Durand

Introduced: 20 Sep 2019

CVE NOT AVAILABLE CWE-16 Open this link 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.