GHSA-87mg-h5r3-hw88
MEDIUMCross-Site Scripting in bootbox
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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | bootbox | <= 5.5.2 |
References
- https://github.com/makeusabrew/bootbox/issues/661 · WEB
- https://hackerone.com/reports/508446 · WEB
- https://github.com/makeusabrew/bootbox · PACKAGE
- https://www.npmjs.com/advisories/882 · WEB
History
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 30 May 2019)