Live threats

All CVEs / jshttp

CVE-2025-7339jshttp on-headers

Low 3.4

Priority
20
CVSS 3.1
3.4
EPSS
—
Auth required
Yes
Published
Jul 17, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-241
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for on-headers.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm on-headers < 1.1.0 1.1.0 npm install on-headers@1.1.0

Per OSV / GitHub Advisories (GHSA-76c9-3jph-rj3q). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.