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: over 5 years ago
Updated: 4 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: 150.3

Affected Packages

packagist:twbs/bootstrap
Dependent packages: 377
Dependent repositories: 5,770
Downloads: 14,217,448 total
Affected Version Ranges: >= 4.0.0, < 4.3.1, >= 3.0.0, < 3.4.1
Fixed in: 4.3.1, 3.4.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.0, 4.2.1, 4.3.0
All unaffected versions: 2.2.2, 2.3.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
maven:org.webjars:bootstrap
Dependent packages: 350
Dependent repositories: 39,622
Downloads:
Affected Version Ranges: >= 4.0.0, < 4.3.1, >= 3.0.0, < 3.4.1
Fixed in: 4.3.1, 3.4.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.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: 1.3.0, 2.0.2, 2.1.1, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.3.2, 3.4.1, 4.3.1, 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
rubygems:twitter-bootstrap-rails
Dependent packages: 83
Dependent repositories: 27,499
Downloads: 9,762,961 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,013,262 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: 20,093,492 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,189,362 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: 513
Dependent repositories: 140,376
Downloads: 104,424,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: 10
Dependent repositories: 543
Downloads: 4,385,107 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: 64,731,811 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: 19,845,370 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, 5.3.3