Skip to content
XSS Disclosed report Beginner

Bootstrap library is vulnerable

The report states that Bootstrap version 4.0.0 is vulnerable, allowing cross-site scripting through tooltip or popover attributes. An attacker could potentially execute scripts via those attributes.

sathish87 Follow

Originally disclosed on HackerOne

  • Disclosed after 4 months

Summary: The identified library bootstrap, version 4.0.0 is vulnerable Steps To Reproduce: Please upgrade to the latest version of bootstrap.

Supporting Material/References:

https://github.com/twbs/bootstrap/issues/28236 https://github.com/twbs/bootstrap/issues/20184

Impact

XSS was possible in the tooltip or popover data-template, data-content and data-title attributes.

The original report as published on HackerOne, by sathish87. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, the library did not properly sanitise user-supplied values in tooltip and popover attributes before inserting them into the page.

What the attacker needed

Use of Bootstrap 4.0.0; attacker-controlled tooltip or popover attributes

The fix

The report recommends upgrading to the latest version of Bootstrap.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Bootstrap is a popular set of design tools for websites. This report says an old version (4.0.0) has a security hole where text placed in certain tooltip or popover settings can run harmful code in a visitor's browser. That kind of attack is called cross-site scripting, or XSS.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More from Sifchain

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.