CVE Explorer
CVE-2025-7339
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"on-headers","vendor":"jshttp","versions":[{"lessThan":"1.1.0","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:8636967bb0f466cb7eae06b52b2068ac5d12670684ed98b10815b3e5649bcf8a · sha256:a178e6dffa7cfdad… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":3.4,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:8636967bb0f466cb7eae06b52b2068ac5d12670684ed98b10815b3e5649bcf8a · sha256:a178e6dffa7cfdad… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-241","description":"CWE-241","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:8636967bb0f466cb7eae06b52b2068ac5d12670684ed98b10815b3e5649bcf8a · sha256:a178e6dffa7cfdad… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"url":"https://cna.openjsf.org/security-advisories.html"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8636967bb0f466cb7eae06b52b2068ac5d12670684ed98b10815b3e5649bcf8a · sha256:a178e6dffa7cfdad… · /containers/cna/references/2
{"url":"https://github.com/expressjs/morgan/issues/315"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8636967bb0f466cb7eae06b52b2068ac5d12670684ed98b10815b3e5649bcf8a · sha256:a178e6dffa7cfdad… · /containers/cna/references/3
{"url":"https://github.com/jshttp/on-headers/commit/c6e384908c9c6127d18831d16ab0bd96e1231867"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8636967bb0f466cb7eae06b52b2068ac5d12670684ed98b10815b3e5649bcf8a · sha256:a178e6dffa7cfdad… · /containers/cna/references/1
{"url":"https://github.com/jshttp/on-headers/issues/15"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8636967bb0f466cb7eae06b52b2068ac5d12670684ed98b10815b3e5649bcf8a · sha256:a178e6dffa7cfdad… · /containers/cna/references/4
{"url":"https://github.com/jshttp/on-headers/security/advisories/GHSA-76c9-3jph-rj3q"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8636967bb0f466cb7eae06b52b2068ac5d12670684ed98b10815b3e5649bcf8a · sha256:a178e6dffa7cfdad… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.