CVE-2025-7339 – on-headers
Package
Manager: npm
Name: on-headers
Vulnerable Version: >=0 <1.1.0
Severity
Level: Low
CVSS v3.1: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: 6e-05 pctl0.00311
Details
on-headers is vulnerable to http response header manipulation ### Impact A bug in on-headers versions `< 1.1.0` may result in response headers being inadvertently modified when an array is passed to `response.writeHead()` ### Patches Users should upgrade to `1.1.0` ### Workarounds Uses are encouraged to upgrade to `1.1.0`, but this issue can be worked around by passing an object to `response.writeHead()` rather than an array.
Metadata
Created: 2025-07-17T21:17:19Z
Modified: 2025-07-17T21:17:19Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/07/GHSA-76c9-3jph-rj3q/GHSA-76c9-3jph-rj3q.json
CWE IDs: ["CWE-241"]
Alternative ID: GHSA-76c9-3jph-rj3q
Finding: F184
Auto approve: 1