CVE-2025-7339 in Modified products
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 encourag...
Affects 0 products from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Modified | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-7339 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-037829-L |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N |
| Published | 2025-07-17 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-241: CWE-241
Related attack patterns (CAPEC)
CAPEC-48 Passing Local Filenames to Functions That Expect a URL via CWE-241
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in on-headers versions <1.1.0 allows for unintended modification of response headers when an array is passed to response.writeHead(). Users are advised to upgrade to version 1.1.0 to mitigate this issue.
The vulnerability arises from improper handling of array inputs in the response.writeHead() method, leading to potential modification of response headers. This could be exploited by an attacker to manipulate headers, potentially leading to security issues such as header injection.
Questions
What is CVE-2025-7339?
A vulnerability in on-headers versions <1.1.0 allows for unintended modification of response headers when an array is passed to response.writeHead(). Users are advised to upgrade to version 1.1.0 to mitigate this issue.
What is the CVSS score for CVE-2025-7339?
CVE-2025-7339 has CVSS 3.4 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N. EPSS: 0.3%.
Is CVE-2025-7339 actively exploited?
No confirmed active exploitation of CVE-2025-7339 as of 2026-09-25.
How do I remediate CVE-2025-7339?
Priority: HIGH.
What systems are affected by CVE-2025-7339?
CVE-2025-7339 affects Modified.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Modified","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.