Vulnerabilities

CVE-2025-7339

Low 3.4 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2025-07-17
Last modified
2026-06-17
Assigned by
ce714d77-add3-4f53-aff5-83d477b104bb
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
Scored by
ce714d77-add3-4f53-aff5-83d477b104bb
Probability of exploitation
0.2 % higher than 7 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
on-headers (npm) < 1.1.0 Affected

Weakness type

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities