Vulnerability library
Security checkJune 02, 2026

Bootstrap Vulnerable to Cross-Site Scripting - bootstrap

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmbootstrap

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Versions of bootstrap prior to 3.4.1 for 3.x and 4.3.1 for 4.x are vulnerable to Cross-Site Scripting (XSS). The data-template attribute of the tooltip and popover plugins lacks input sanitization and may allow attacker to execute arbitrary JavaScript.

Recommendation

Update the bootstrap package to the latest compatible version. Followings are version details:

  • Affected version(s): **>= 3.0.0, < 3.4.1 >= 4.0.0, < 4.3.1**
  • Patched version(s): **3.4.1 4.3.1**

References

Could your website be exposed too?

SmartScanner can check your website for Bootstrap Vulnerable to Cross-Site Scripting - bootstrap and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated June 02, 2026