on-headers (npm)
Execute a listener when a response is about to write headers.
Advisories
2
Latest version
1.1.0
Released Jul 17, 2025
License
MIT
OpenSSF Scorecard
5.6 / 10
How to fix
Upgrading to 1.1.0 or later clears every advisory below that has a fix.
Upgrade commands
npm
npm install on-headers@1.1.0yarn
yarn add on-headers@1.1.0pnpm
pnpm add on-headers@1.1.0Known vulnerabilities
| Advisory | Severity | Affected | Fixed in |
|---|---|---|---|
| GHSA-76c9-3jph-rj3q on-headers is vulnerable to http response header manipulation |
Low EPSS 0.21% |
< 1.1.0 | 1.1.0 |
| GHSA-76c9-3jph-rj3q on-headers is vulnerable to http response header manipulation |
Low EPSS 0.21% |
< 1.1.0 | 1.1.0 |
Source: git+https://github.com/jshttp/on-headers.git
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor