CVE-2025-7339: on-headers vulnerable to http response header manipulation
Vulnerability summary
CVE-2025-7339 is a low (CVSS 3.4) vulnerability in jshttp on-headers. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 10.9% of scored vulnerabilities.
Not severe (CVSS 3.4, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 6Timeline
- 17-07-2025PublishedVulnerability first disclosed.
- 17-07-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated3.4LowCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated3.4LowCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
- OSV · WolfiEcosystem advisory · calculated3.4LowCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
- OSV · NpmEcosystem advisory · calculated3.4LowCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated3.4LowCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
- NVDNIST3.4LowCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
11%
Versus all other CVEs
30-day change
Increase +0.03 pp
From 0.18% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard55 products
- arangodb-3.11< 3.11.14.5-r25
- arangodb-3.12< 3.12.11-r0
- argo-workflows< 3.6.10-r3
- code-server< 4.102.1-r0
- code-server-compat< 4.102.1-r0
Wolfi25 products
- argo-workflows< 3.6.10-r3
- code-server< 4.102.1-r0
- code-server-compat< 4.102.1-r0
- json-server< 0.17.4-r2
- katib-earlystopping< 0.19.0-r31
Debian1 product
- node-on-headersAll versions (No fix recorded) | < 1.0.2-4
Jshttp1 product
- on-headers< 1.1.0
Npm1 product
- on-headers< 1.1.0
Ubuntu1 product
- node-on-headersAll versions (No fix recorded)
6 vendors · 84 products
References
11 linksShow all 11 references
- github.com/jshttp/on-headersPACKAGE