CVE-2016-10735 — Vulnerability in bootstrap — CVE Details
Bootstrap Cross-site Scripting vulnerability
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (4.04%). Schedule for your next planned update.
Does your project use an affected bootstrap version?
Paste your package-lock.json to check it for CVE-2016-10735 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
In Bootstrap 2.x from 2.0.4, 3.x before 3.4.0 and 4.x-beta before 4.0.0-beta.2, XSS is possible in the data-target attribute. Note that this is a different vulnerability than CVE-2018-14041.
See https://blog.getbootstrap.com/2018/12/13/bootstrap-3-4-0/ for more info.
Advisory Timeline
- First published January 17, 2019 (2870 days ago).
- Last revised September 10, 2026 — 2793 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install bootstrap@3.4.0
dotnet add package bootstrap.sass --version 4.0.0-beta.2
composer require "twbs/bootstrap:^3.4.0"
gem install bootstrap-sass -v 3.4.0
npm install bootstrap@4.0.0-beta.2
composer require "twbs/bootstrap:^4.0.0-beta.2"
<!-- Update pom.xml dependency version to 4.0.0-beta.2 for org.webjars:bootstrap -->
dotnet add package bootstrap --version 3.4.0
gem install bootstrap -v 4.0.0-beta.2
npm install bootstrap-sass@3.4.0
<!-- Update pom.xml dependency version to 3.4.0 for org.webjars:bootstrap -->
dotnet add package bootstrap --version 4.0.0-beta.2
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (12)
Affects 5 ecosystems: npm (2), NuGet (2), RubyGems (2), Maven (1), Packagist (1).
| Package | Fixed In |
|---|---|
| bootstrap npm · Affected: All versions | 3.4.0 |
| bootstrap.sass NuGet · Affected: 4.0.0-beta | 4.0.0-beta.2 |
| twbs/bootstrap Packagist · Affected: v2.2.2, v2.3.0, v2.3.1, v2.3.2 (+16 more) | 3.4.0 |
| bootstrap-sass RubyGems · Affected: 2.0.4.0, 2.0.4.1, 2.0.4.2, 2.1.0.0 (+38 more) | 3.4.0 |
| bootstrap npm · Affected: All versions | 4.0.0-beta.2 |
| twbs/bootstrap Packagist · Affected: v4.0.0-beta | 4.0.0-beta.2 |
| org.webjars:bootstrap Maven · Affected: 4.0.0-beta, 4.0.0-beta-1 | 4.0.0-beta.2 |
| bootstrap NuGet · Affected: 2.3.1, 2.3.2, 3.0.0, 3.0.1 (+14 more) | 3.4.0 |
| bootstrap RubyGems · Affected: All versions | 4.0.0-beta.2 |
| bootstrap-sass npm · Affected: All versions | 3.4.0 |
| org.webjars:bootstrap Maven · Affected: 2.1.1, 2.2.1, 2.2.2, 2.2.2-1 (+27 more) | 3.4.0 |
| bootstrap NuGet · Affected: 4.0.0-beta | 4.0.0-beta.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.1 score means for each attack dimension.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-10735ADVISORY
- https://github.com/twbs/bootstrap/issues/27915#issuecomment-452140906WEB
- https://github.com/twbs/bootstrap/issues/20184WEB
- https://github.com/twbs/bootstrap/pull/26460WEB
- https://github.com/twbs/bootstrap/pull/23687WEB
- https://github.com/twbs/bootstrap/pull/23679WEB
- https://github.com/github/advisory-database/pull/3281WEB
- https://github.com/twbs/bootstrapPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2016-10735.ymlWEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2016-10735.ymlWEB
- https://blog.getbootstrap.com/2018/12/13/bootstrap-3-4-0WEB
- https://blog.getbootstrap.com/2018/07/12/bootstrap-4-1-2WEB
- https://access.redhat.com/errata/RHSA-2020:0133WEB
- https://access.redhat.com/errata/RHSA-2020:0132WEB
- https://access.redhat.com/errata/RHSA-2019:3023WEB
- https://access.redhat.com/errata/RHSA-2019:1456WEB
- https://access.redhat.com/errata/RHBA-2019:1570WEB
- https://access.redhat.com/errata/RHBA-2019:1076WEB
Frequently Asked Questions
- What is CVE-2016-10735?
- Bootstrap Cross-site Scripting vulnerability. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.1/10).
- How do I check if my project is affected by CVE-2016-10735?
- CVE-2016-10735 affects bootstrap, bootstrap.sass and twbs/bootstrap (and 2 more). It has a 4.0% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2016-10735 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This places it in the top 10% of EPSS-scored vulnerabilities — 91.4% of tracked vulnerabilities score at or below it, so it is substantially more likely to be exploited than most tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2019-10842CRITICAL
Bootstrap-sass contains code execution backdoor
- CVE-2018-20676MEDIUM
XSS vulnerability that affects bootstrap
- CVE-2018-14040MEDIUM
Bootstrap vulnerable to Cross-Site Scripting (XSS)
- CVE-2018-14042MEDIUM
Bootstrap Cross-site Scripting vulnerability
- CVE-2019-8331MEDIUM
Bootstrap Vulnerable to Cross-Site Scripting
- CVE-2026-115472MEDIUM
Doorkeeper: When using public clients, any client can revoke any access token
- CVE-2018-20677MEDIUM
bootstrap Cross-site Scripting vulnerability
- CVE-2018-14041MEDIUM
Bootstrap Cross-site Scripting vulnerability