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

EPSS score

Weaknesses

Windows Shortcut Following (.LNK)

The product, when opening a file or directory, does not sufficiently handle when the file is a Windows shortcut (.LNK) whose target is outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files. Learn more on MITRE.

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. Learn more on MITRE.

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.