Vulnerability library
Security checkJanuary 09, 2023

Configuration Override in helmet-csp

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmhelmet-csp

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Versions of helmet-csp before to 2.9.1 are vulnerable to a Configuration Override affecting the application’s Content Security Policy (CSP). The package’s browser sniffing for Firefox deletes the default-src CSP policy, which is the fallback policy.

Recommendation

Update the helmet-csp package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 1.2.2, < 2.9.1
  • Patched version(s): 2.9.1

References

Could your website be exposed too?

SmartScanner can check your website for Configuration Override in helmet-csp and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 09, 2023