{"cve":"CVE-2025-7339","nvd":{"published":"2025-07-17T16:15:35.403","modified":"2026-06-17T10:04:45.180","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N","score":3.4},"cwes":["CWE-241"],"references":["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"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:05:46.678065081+00:00"},"epss":{"cve":"CVE-2025-7339","score":0.00208,"percentile":0.10901,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-76c9-3jph-rj3q","url":"https://osv.dev/vulnerability/GHSA-76c9-3jph-rj3q","summary":"on-headers is vulnerable to http response header manipulation","modified":"2026-09-10T03:50:25.957948294Z","packages":[{"ecosystem":"npm","name":"on-headers","purl":"pkg:npm/on-headers","ranges":["<1.1.0"],"fixed":["1.1.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}