GHSA-87mg-h5r3-hw88
JSON

medium

Cross-Site Scripting in bootbox

Severity
medium rating by GitHub
Published
Last changed

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

Product or packageVersionsReported by
bootbox (npm)up to 5.5.2GitHub Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-87mg-h5r3-hw88 changed 2021-09-16CC-BY-4.0