#VU114392 Improper Handling of Unexpected Data Type in on-headers - CVE-2025-7339
Published: August 22, 2025
Vulnerability identifier: #VU114392
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-7339
CWE-ID: CWE-241
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerable software:
on-headers
on-headers
Software vendor:
jshttp
jshttp
Description
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to excessive data output by the application. A remote attacker can inadvertently modify response headers when an array is passed to `response.writeHead()`
Remediation
Install updates from vendor's website.
External links
- https://cna.openjsf.org/security-advisories.html
- https://github.com/expressjs/morgan/issues/315
- https://github.com/jshttp/on-headers/commit/c6e384908c9c6127d18831d16ab0bd96e1231867
- https://github.com/jshttp/on-headers/issues/15
- https://github.com/jshttp/on-headers/security/advisories/GHSA-76c9-3jph-rj3q