CVE-2025-7339jshttp on-headers
Low 3.4
Follow: this CVE · jshttp · jshttp on-headers We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for on-headers.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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
- jshttp · on-headers
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for agama-web-ui · SUSE · openSUSE-SU-2026:20919-1 · Jun 8, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.