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.
History

Fri, 18 Jul 2025 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Low


Thu, 17 Jul 2025 21:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


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

{'score': 3.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N'}


cve-icon MITRE

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

cve-icon Vulnrichment

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

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-07-17T16:15:35.403

Modified: 2025-07-17T21:15:50.197

Link: CVE-2025-7339

cve-icon Redhat

Severity : Low

Publid Date: 2025-07-17T15:47:39Z

Links: CVE-2025-7339 - Bugzilla