Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTl2M20tOGZwOC1tajk5

Bootstrap Vulnerable to Cross-Site Scripting

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.

Permalink: https://github.com/advisories/GHSA-9v3m-8fp8-mj99
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTl2M20tOGZwOC1tajk5
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 5 years ago
Updated: 5 months ago


CVSS Score: 6.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Identifiers: GHSA-9v3m-8fp8-mj99, CVE-2019-8331
References: Repository: https://github.com/twbs/bootstrap
Blast Radius: 99.3

Affected Packages

rubygems:twitter-bootstrap-rails
Dependent packages: 83
Dependent repositories: 27,499
Downloads: 9,327,115 total
Affected Version Ranges: <= 5.0.0
No known fixed version
All affected versions: 0.0.3, 0.0.4, 0.0.5, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.9, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.1.7, 2.1.8, 2.1.9, 2.2.0, 2.2.1, 2.2.3, 2.2.4, 2.2.5, 2.2.6, 2.2.7, 2.2.8, 3.2.0, 3.2.2, 4.0.0, 5.0.0
npm:bootstrap-sass
Dependent packages: 1,027
Dependent repositories: 89,805
Downloads: 1,592,162 last month
Affected Version Ranges: >= 3.0.0, < 3.4.1
Fixed in: 3.4.1
All affected versions: 3.1.1, 3.2.0, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.3.5, 3.3.6, 3.3.7, 3.4.0
All unaffected versions: 2.3.2, 3.4.1, 3.4.2, 3.4.3
npm:bootstrap
Dependent packages: 17,952
Dependent repositories: 874,564
Downloads: 23,398,891 last month
Affected Version Ranges: >= 3.0.0, < 3.4.1, >= 4.0.0, < 4.3.1
Fixed in: 3.4.1, 4.3.1
All affected versions: 3.1.1, 3.2.0, 3.3.0, 3.3.1, 3.3.2, 3.3.4, 3.3.5, 3.3.6, 3.3.7, 3.4.0, 4.0.0, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.2.1, 4.3.0
All unaffected versions: 0.0.1, 0.0.2, 3.4.1, 4.3.1, 4.4.0, 4.4.1, 4.5.0, 4.5.1, 4.5.2, 4.5.3, 4.6.0, 4.6.1, 4.6.2, 5.0.0, 5.0.1, 5.0.2, 5.1.0, 5.1.1, 5.1.2, 5.1.3, 5.2.0, 5.2.1, 5.2.2, 5.2.3, 5.3.0, 5.3.1, 5.3.2, 5.3.3
nuget:bootstrap.sass
Dependent packages: 2
Dependent repositories: 110
Downloads: 1,021,186 total
Affected Version Ranges: < 4.3.1
Fixed in: 4.3.1
All affected versions: 3.4.1, 4.0.0, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.2.1
All unaffected versions: 4.3.1, 4.4.0, 4.4.1, 4.5.0, 4.5.1, 4.5.2, 4.5.3, 4.6.0, 4.6.1, 4.6.2, 5.0.0, 5.0.1, 5.0.2, 5.1.0, 5.1.1, 5.1.2, 5.1.3, 5.2.0, 5.2.1, 5.2.2, 5.2.3, 5.3.0, 5.3.1, 5.3.2, 5.3.3
nuget:bootstrap
Dependent packages: 511
Dependent repositories: 140,376
Downloads: 95,141,041 total
Affected Version Ranges: >= 3.0.0, < 3.4.1, >= 4.0.0, < 4.3.1
Fixed in: 3.4.1, 4.3.1
All affected versions: 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.1.0, 3.1.1, 3.2.0, 3.3.0, 3.3.1, 3.3.2, 3.3.4, 3.3.5, 3.3.6, 3.3.7, 3.4.0, 4.0.0, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.2.1
All unaffected versions: 1.0.0, 2.3.1, 2.3.2, 3.4.1, 4.3.1, 4.4.0, 4.4.1, 4.5.0, 4.5.1, 4.5.2, 4.5.3, 4.6.0, 4.6.1, 4.6.2, 5.0.0, 5.0.1, 5.0.2, 5.1.0, 5.1.1, 5.1.2, 5.1.3, 5.2.0, 5.2.1, 5.2.2, 5.2.3, 5.3.0, 5.3.1, 5.3.2, 5.3.3
nuget:Bootstrap.Less
Dependent packages: 8
Dependent repositories: 543
Downloads: 4,034,527 total
Affected Version Ranges: >= 3.0.0, < 3.4.1
Fixed in: 3.4.1
All affected versions: 3.3.5, 3.3.6, 3.3.7, 3.4.0
All unaffected versions: 2.1.1, 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.3.2, 3.4.1
rubygems:bootstrap-sass
Dependent packages: 417
Dependent repositories: 155,544
Downloads: 60,279,313 total
Affected Version Ranges: >= 3.0.0, < 3.4.1
Fixed in: 3.4.1
All affected versions: 3.3.3, 3.3.5, 3.3.6, 3.3.7, 3.4.0
All unaffected versions: 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.3.2, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 3.4.1
rubygems:bootstrap
Dependent packages: 104
Dependent repositories: 31,522
Downloads: 17,405,319 total
Affected Version Ranges: < 4.3.1
Fixed in: 4.3.1
All affected versions: 4.0.0, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.2.1, 4.3.0
All unaffected versions: 4.3.1, 4.4.1, 4.5.0, 4.5.2, 4.5.3, 4.6.0, 4.6.1, 4.6.2, 5.0.0, 5.0.1, 5.0.2, 5.1.0, 5.1.1, 5.1.2, 5.1.3, 5.2.0, 5.2.1, 5.2.2, 5.2.3, 5.3.0, 5.3.1, 5.3.2