Configuration Override

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

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

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.

Remediation

Upgrade helmet-csp to version 2.9.2 or higher.

References

CVSS Score

6.5
medium severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    Low
  • Integrity
    Low
  • Availability
    None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Credit
William Durand
CWE
CWE-16
Snyk ID
SNYK-JS-HELMETCSP-469436
Disclosed
20 Sep, 2019
Published
29 Sep, 2019