GHSA-2ggq-vfcp-gwhj
Cross-Site Scripting in @hapi/boom
GHSA-2ggq-vfcp-gwhj is a medium vulnerability (CVSS 6.5) in @hapi/boom, published September 4, 2020. No source lists public exploit code. Fixed in @hapi/boom 0.3.8.
- Severity
- 6.5 MediumCVSS 3.1, GitHub Advisories
- Exploit chance
- UnscoredNo EPSS score yet
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
0.3.8@hapi/boom
Description
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Affected packages
| Package | Affected | Fixed |
|---|---|---|
@hapi/boomnpm | before 0.3.8 | 0.3.8 |
What each source reports
GitHub Advisories Score used 6.5
Cross-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.
- Record
GHSA-2ggq-vfcp-gwhj- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV 6.5
Cross-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.
- Record
GHSA-2ggq-vfcp-gwhj- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.