Advisory

GHSA-87mg-h5r3-hw88

Also known as: None

Summary

Cross-Site Scripting in bootbox

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2019-05-30 17:23 UTC
Modified
2021-09-16 21:01 UTC

Affected packages and fixes

bootbox

npm · All systems

Affected

  • introduced 0, last affected 5.5.2 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences