Back
CVE-2025-7339
on-headers vulnerable to http response header manipulation
Low3.4EPSS 0.21%
- Published
- Updated
- Reserved
- Assigned by
- openjs
Description
on-headers is a node.js middleware for listening to when a response writes headers. 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()`. Users should upgrade to version 1.1.0 to receive a patch. Uses are strongly 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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| openjsCNA (assigner) | 3.1 | Low3.4 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N |
| NVDNVD · Deferred | 3.1 | Low3.4 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.21% · top 89% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.4.
Weakness
Affected products
- affected < 1.1.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmon-headersGHSA-76c9-3jph-rj3q (opens in a new tab)
References (5)
- https://github.com/jshttp/on-headers/security/advisories/GHSA-76c9-3jph-rj3q (opens in a new tab)
- https://github.com/jshttp/on-headers/commit/c6e384908c9c6127d18831d16ab0bd96e1231867 (opens in a new tab)
- https://cna.openjsf.org/security-advisories.html (opens in a new tab)
- https://github.com/expressjs/morgan/issues/315 (opens in a new tab)
- https://github.com/jshttp/on-headers/issues/15 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-76c9-3jph-rj3q (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2025-7339)Record last updated .