Skip to content
OpenAdvisories
Medium · 6.5 GHSA-2ggq-vfcp-gwhj

Cross-Site Scripting in @hapi/boom

Published Sep 4, 2020 · Updated Oct 2, 2023 · Assigned by GHSA

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.

Affected packages

EcosystemPackageAffectedFixedRecord
npm @hapi/boom < 0.3.8 0.3.8 GHSA-2ggq-vfcp-gwhj

References