GHSA-76C9-3JPH-RJ3Q
Vulnerability from github – Published: 2025-07-17 21:17 – Updated: 2025-07-17 21:17
VLAI?
Summary
on-headers is vulnerable to http response header manipulation
Details
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.
Severity ?
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "on-headers"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.1.0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2025-7339"
],
"database_specific": {
"cwe_ids": [
"CWE-241"
],
"github_reviewed": true,
"github_reviewed_at": "2025-07-17T21:17:19Z",
"nvd_published_at": "2025-07-17T16:15:35Z",
"severity": "LOW"
},
"details": "### Impact\n\nA bug in on-headers versions `\u003c 1.1.0` may result in response headers being inadvertently modified when an array is passed to `response.writeHead()`\n\n### Patches\n\nUsers should upgrade to `1.1.0`\n\n### Workarounds\n\nUses 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.",
"id": "GHSA-76c9-3jph-rj3q",
"modified": "2025-07-17T21:17:19Z",
"published": "2025-07-17T21:17:19Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/jshttp/on-headers/security/advisories/GHSA-76c9-3jph-rj3q"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-7339"
},
{
"type": "WEB",
"url": "https://github.com/expressjs/morgan/issues/315"
},
{
"type": "WEB",
"url": "https://github.com/jshttp/on-headers/issues/15"
},
{
"type": "WEB",
"url": "https://github.com/jshttp/on-headers/commit/c6e384908c9c6127d18831d16ab0bd96e1231867"
},
{
"type": "WEB",
"url": "https://cna.openjsf.org/security-advisories.html"
},
{
"type": "PACKAGE",
"url": "https://github.com/jshttp/on-headers"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N",
"type": "CVSS_V3"
}
],
"summary": "on-headers is vulnerable to http response header manipulation"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…