Skip to content

Cross-Site Scripting in bootbox

Moderate severity GitHub Reviewed Published May 30, 2019 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

npm bootbox (npm)

Affected versions

<= 5.5.2

Patched versions

None

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.

References

Reviewed May 30, 2019
Published to the GitHub Advisory Database May 30, 2019
Last updated Jan 9, 2023

Severity

Moderate

CVE ID

No known CVE

GHSA ID

GHSA-87mg-h5r3-hw88

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.