CVE-2025-7339

on-headers vulnerable to http response header manipulation

Published Jul 17, 2025 CVSS 3.1 · 3.4 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

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
Type Values Removed Values Added
Metrics ssvc

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

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.

Weaknesses

Sources

Status
PUBLISHED
Assigner
openjs
Published
Updated
Jul 17, 2025, 8:24 PM
Reserved
Jul 7, 2025, 8:01 PM
Status
Deferred
Published
Jul 17, 2025, 4:15 PM
Modified
Jun 17, 2026, 10:04 AM
Severity
Low
Public date
Jul 17, 2025, 3:47 PM