GHSA-2ggq-vfcp-gwhj
MEDIUM 6.5CVSS 3.1Cross-Site Scripting in @hapi/boom
Versions of @hapi/boom prior to 0.3.8 are vulnerable to Cross-Site Scripting (XSS). The package fails to properly escape error messages, which may allow attackers to execute arbitrary JavaScript in a victim's browser.
Recommendation
Upgrade to version 0.3.8 or later.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @hapi/boom | < 0.3.8 | 0.3.8 |
References
- https://github.com/hapijs/boom/commit/0f8640bdba65aec6e6799bfc16ff5753150bfcaf · WEB
- https://github.com/hapijs/boom · PACKAGE
- https://snyk.io/vuln/SNYK-JS-HAPIBOOM-541183 · WEB
History
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 4 Sep 2020)