GHSA-xw79-hhv6-578c
HIGHCross-Site Scripting in serve
Versions of serve prior to 10.0.2 are vulnerable to Cross-Site Scripting (XSS). The package does not encode output, allowing attackers to execute arbitrary JavaScript in the victim's browser if user-supplied input is rendered.
Recommendation
Upgrade to version 10.0.2 or later.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | serve | < 10.0.2 | 10.0.2 |
References
- https://github.com/zeit/serve-handler/commit/65b4d4183a31a8076c78c40118acb0ca1b64f620 · WEB
- https://hackerone.com/reports/358641 · WEB
- https://hackerone.com/reports/398285 · WEB
- https://github.com/zeit/serve-handler · PACKAGE
- https://www.npmjs.com/advisories/971 · WEB
History
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 11 Sep 2020)