Advisory

GHSA-9v3m-8fp8-mj99

Also known as: CVE-2019-8331

Summary

Bootstrap Vulnerable to Cross-Site Scripting

Details

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

For bootstrap 4.x upgrade to 4.3.1 or later.
For bootstrap 3.x upgrade to 3.4.1 or later.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2019-02-22 20:54 UTC
Modified
2026-09-10 03:47 UTC

Affected packages and fixes

12 affected packages
PackageSystemAffectedFix
bootstrapRubyGems · All systemsEarlier versionsThe export has no generic command for this ecosystem.
bootstrap-sassRubyGems · All systemsintroduced 3.0.0, fixed 3.4.1The export has no generic command for this ecosystem.
Bootstrap.LessNuGet · All systemsintroduced 3.0.0, fixed 3.4.1The export has no generic command for this ecosystem.
bootstrapNuGet · All systemsintroduced 4.0.0, fixed 4.3.1The export has no generic command for this ecosystem.
bootstrapNuGet · All systemsintroduced 3.0.0, fixed 3.4.1The export has no generic command for this ecosystem.
bootstrap.sassNuGet · All systemsEarlier versionsThe export has no generic command for this ecosystem.
bootstrapnpm · All systemsintroduced 4.0.0, fixed 4.3.1npm install [email protected]
bootstrapnpm · All systemsintroduced 3.0.0, fixed 3.4.1npm install [email protected]
bootstrap-sassnpm · All systemsintroduced 3.0.0, fixed 3.4.1npm install [email protected]
twitter-bootstrap-railsRubyGems · All systemsEarlier versionsThe export has no generic command for this ecosystem.
twbs/bootstrapPackagist · All systemsintroduced 3.0.0, fixed 3.4.1The export has no generic command for this ecosystem.
twbs/bootstrapPackagist · All systemsintroduced 4.0.0, fixed 4.3.1The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences