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.
Metrics
Affected Vendors & Products
References
History
Fri, 18 Jul 2025 00:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
| |
Metrics |
threat_severity
|
threat_severity
|
Thu, 17 Jul 2025 21:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
Thu, 17 Jul 2025 16:00:00 +0000
Type | Values Removed | Values Added |
---|---|---|
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. | |
Title | on-headers vulnerable to http response header manipulation | |
Weaknesses | CWE-241 | |
References |
|
|
Metrics |
cvssV3_1
|

Status: PUBLISHED
Assigner: openjs
Published: 2025-07-17T15:47:39.680Z
Updated: 2025-07-17T20:24:47.447Z
Reserved: 2025-07-07T20:01:14.812Z
Link: CVE-2025-7339

Updated: 2025-07-17T20:24:42.737Z

Status : Awaiting Analysis
Published: 2025-07-17T16:15:35.403
Modified: 2025-07-17T21:15:50.197
Link: CVE-2025-7339
