{"id":"GHSA-76c9-3jph-rj3q","revision":"297d39d444fc4fdf81701f9eece463fa","records":[{"revision":"297d39d444fc4fdf81701f9eece463fa","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-76c9-3jph-rj3q","aliases":["CVE-2025-7339"],"title":"on-headers is vulnerable to http response header manipulation","description":"### Impact\n\nA bug in on-headers versions `< 1.1.0` may result in response headers being inadvertently modified when an array is passed to `response.writeHead()`\n\n### Patches\n\nUsers should upgrade to `1.1.0`\n\n### Workarounds\n\nUses are 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.","state":0,"publishedAt":"2025-07-17T21:17:19+00:00","modifiedAt":"2026-09-10T03:50:25.9579483+00:00","affected":[{"ecosystem":"npm","name":"on-headers","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.1.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://github.com/jshttp/on-headers/security/advisories/GHSA-76c9-3jph-rj3q","https://nvd.nist.gov/vuln/detail/CVE-2025-7339","https://github.com/expressjs/morgan/issues/315","https://github.com/jshttp/on-headers/issues/15","https://github.com/jshttp/on-headers/commit/c6e384908c9c6127d18831d16ab0bd96e1231867","https://cna.openjsf.org/security-advisories.html","https://github.com/jshttp/on-headers"],"sourceUrl":"https://github.com/advisories/GHSA-76c9-3jph-rj3q","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-76c9-3jph-rj3q","identifiers":["GHSA-76c9-3jph-rj3q","CVE-2025-7339"]},"retained":false,"historicalAffected":[]}],"coverage":[]}