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.
Published: 2025-07-17
Score: 3.4 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-21784 on-headers is vulnerable to http response header manipulation
Github GHSA Github GHSA GHSA-76c9-3jph-rj3q on-headers is vulnerable to http response header manipulation
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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: openjs

Published:

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 : Deferred

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

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-7339

cve-icon Redhat

Severity : Low

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

Links: CVE-2025-7339 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses