Cross-Site Scripting in bootbox
Moderate severity
GitHub Reviewed
Published
May 30, 2019
to the GitHub Advisory Database
•
Updated Jan 9, 2023
Description
Reviewed
May 30, 2019
Published to the GitHub Advisory Database
May 30, 2019
Last updated
Jan 9, 2023
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