Skip to content
OpenAdvisories
Medium GHSA-87mg-h5r3-hw88

Cross-Site Scripting in bootbox

Published May 30, 2019 · Updated Sep 16, 2021 · Assigned by GHSA

Description

All version of `bootbox` are vulnerable to Cross-Site Scripting. The package does not sanitize user input in the provided dialog boxes, allowing attackers to inject HTML code and execute arbitrary JavaScript.

## Recommendation

Sanitize user input being passed to `bootbox` or consider using an alternative package.

Affected packages

EcosystemPackageAffectedFixedRecord
npm bootbox <= 5.5.2 — GHSA-87mg-h5r3-hw88

References