CVE-2025-7339
jshttp on-headers
Raw vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2025-7339 is a low-severity Improper Handling of Unexpected Data Type (CWE-241) vulnerability in jshttp on-headers (named in the CVE record; NVD lists no product yet). Its CVSS base score is 3.4 (Low).
Operationally, exploitation aligns with the MITRE ATT&CK technique Application or System Exploitation (T1499.004); ranked at the 10th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) — see the control section below for these in your framework.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-21784
Vulnerability Data
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…
more
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Input validation explicitly checks that supplied data matches expected types and rejects mismatches before they reach processing logic.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly require proper input validation and type checking to prevent this weakness.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing can detect type-handling flaws but does not itself implement the preventive control.
Secure coding standards explicitly require type checking and input sanitization, directly addressing improper handling of unexpected data types.
A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary software implementation weaknesses in delivered code the way those practices do; CWE-241 is an ordinary code-level type-handling defect that secure coding and testing reach but do not eliminate, and the clause sits at its declared ceiling of `partial`.
A.8.8's reach is DISCLOSURE — it surfaces vulnerabilities in third-party components that carry a published advisory. CWE-241 does appear in CVEs (the observed examples include FTP and anti-virus products), so the disclosed share is findable, but it is a minority of the class — most type-handling defects live in first-party code that A.8.8's disclosure-based programme does not read, and the weakness is flagged as under-studied, so the CVE population is thin.