patchminder
Proof of concept · CISA assessment CVE-2025-7339

Vulnerabilityin the on-headers package.

Published 17 Jul 2025 · Updated 17 Jul 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).

Severity
Low 3.4
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.2% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 1.1.0 or later
In plain words

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 now
  • Upgrade on-headers to 1.1.0 or later.
  • Upgrade on-headers (npm) to 1.1.0 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
on-headers
before 1.1.0
1.1.0
CVE record
on-headers (npm)
before 1.1.0
1.1.0
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 7 Jul 2025
    CVE ID reserved by openjs.
  2. 17 Jul 2025
    Published in the CVE List.
  3. 17 Jul 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Same weakness:

All CWE-241 vulnerabilities

References
Cite this page

Patchminder. CVE-2025-7339: Vulnerability in the on-headers package. https://patchminder.com/cve/cve-2025-7339/ (accessed 5 December 2026).