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 1.1.0
Uses 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.
{ "github_reviewed": true, "cwe_ids": [ "CWE-241" ], "severity": "LOW", "github_reviewed_at": "2025-07-17T21:17:19Z", "nvd_published_at": "2025-07-17T16:15:35Z" }