Skip to main content
VulnerabilityPublished Updated

CVE-2025-7339: Node on headers · on-headers is a node.js middleware for listening to when a response writes headers

Affects node-on-headersSource GCVE Database

0
Compare
Authoritative record:CVE-2025-7339· Low 3.4

Not known to be exploited · CVSS 3.4 Low · fixed in 1.1.0 : update node-on-headers when convenient.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
3.4Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 10% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.1.0
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Jul 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10node-on-headerspkg:deb/ubuntu/node-on-headers?arch=source&distro=stonkingOther threatsAffected
  • =1.0.2-4
  • =1.1.0-1
Fixed in–
Ubuntu 26.04 LTSnode-on-headerspkg:deb/ubuntu/node-on-headers?arch=source&distro=resoluteOther threatsAffected
  • =1.0.2-4
Fixed in–
Ubuntu 25.10node-on-headerspkg:deb/ubuntu/node-on-headers?arch=source&distro=questingOther threatsAffected
  • =1.0.2-2
  • =1.0.2-4
Fixed in–
Ubuntu 24.04 LTSnode-on-headerspkg:deb/ubuntu/node-on-headers?arch=source&distro=nobleOther threatsAffected
  • =1.0.2-2
Fixed in–
Ubuntu 22.04 LTSnode-on-headerspkg:deb/ubuntu/node-on-headers?arch=source&distro=jammyOther threatsAffected
  • =1.0.2-1
  • =1.0.2-2
Fixed in–
Ubuntu 20.04 LTSnode-on-headerspkg:deb/ubuntu/node-on-headers?arch=source&distro=focalOther threatsAffected
  • =1.0.1-1
  • =1.0.2-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…