Read the docs
TI-2020-19776 Aliases GHSA-c3m8-x3cg-qm2c

Configuration Override in helmet-csp

Priority LOW 38Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

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. This allows an attacker to remove an application's default CSP, possibly rendering the application vulnerable to Cross-Site Scripting. ## Recommendation Upgrade to version 2.9.1 or later. Setting the `browserSniff` configuration to `false` in vulnerable versions also mitigates the issue.

Why it matters now

Fix Fixed helmet-csp (npm): 2.9.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—helmet-csp (npm)1.2.2 to before 2.9.12.9.1Patch availableGHSA-c3m8-x3cg-qm2c
  • helmet-csp (npm) Vendor— Affected 1.2.2 to before 2.9.1 Fixed in 2.9.1 Patch available GHSA-c3m8-x3cg-qm2c

Remediation

  • Fix · GHSA-c3m8-x3cg-qm2c helmet-csp (npm) Fixed in 2.9.1 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-c3m8-x3cg-qm2c

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences