CVE-2018-14041 — Vulnerability in bootstrap — CVE Details
Bootstrap Cross-site Scripting vulnerability
Summary
Advisory Timeline
- First published September 13, 2018 (2951 days ago).
- Last revised November 20, 2025 — 2625 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install bootstrap -v 4.1.2
composer require "typo3/cms:^9.5.4"
composer require "twbs/bootstrap:^4.1.2"
composer require "typo3/cms-core:^9.5.4"
npm install bootstrap@4.1.2
<!-- Update pom.xml dependency version to 4.1.2 for org.webjars:bootstrap -->
dotnet add package bootstrap.sass --version 4.1.2
dotnet add package bootstrap --version 4.1.2
composer require "typo3/cms-core:^8.7.23"
composer require "typo3/cms:^8.7.23"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (10)
Affects 5 ecosystems: packagist (3), nuget (2), maven (1), npm (1), rubygems (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| bootstrap | rubygems | 4.0.0, 4.1.0, 4.1.1 | 4.1.2 |
| typo3/cms | packagist | v9.0.0, v9.1.0, v9.2.0, v9.2.1 (+9 more) | 9.5.4 |
| twbs/bootstrap | packagist | v4.0.0, v4.1.0, v4.1.1 | 4.1.2 |
| typo3/cms-core | packagist | v9.0.0, v9.1.0, v9.2.0, v9.2.1 (+9 more) | 9.5.4 |
| bootstrap | npm | All versions | 4.1.2 |
| org.webjars:bootstrap | maven | 4.0.0, 4.0.0-1, 4.0.0-2, 4.1.0 (+1 more) | 4.1.2 |
| bootstrap.sass | nuget | 4.0.0, 4.1.0, 4.1.1, 4.1.1-contentFiles | 4.1.2 |
| bootstrap | nuget | 4.0.0, 4.1.0, 4.1.1, 4.1.1-contentFiles | 4.1.2 |
| typo3/cms-core | packagist | v8.7.10, v8.7.11, v8.7.12, v8.7.13 (+12 more) | 8.7.23 |
| typo3/cms | packagist | 8.0.0, 8.0.1, 8.1.0, 8.1.1 (+34 more) | 8.7.23 |
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-2018-14041ADVISORY
- https://github.com/twbs/bootstrap/issues/26423WEB
- https://github.com/twbs/bootstrap/issues/26627WEB
- https://github.com/twbs/bootstrap/pull/26630WEB
- https://www.oracle.com/security-alerts/cpuApr2021.htmlWEB
- https://typo3.org/security/advisory/typo3-core-sa-2019-006WEB
- https://seclists.org/bugtraq/2019/May/18WEB
- https://lists.apache.org/thread.html/r3dc0cac8d856bca02bd6997355d7ff83027dcfc82f8646a29b89b714@%3Cissues.hbase.apache.org%3EWEB
- https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3EWEB
- https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3EWEB
- https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e@%3Cdev.superset.apache.org%3EWEB
- https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3EWEB
- https://github.com/twbs/bootstrapPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2018-14041.ymlWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2018-14041.yamlWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2018-14041.yamlWEB
- https://blog.getbootstrap.com/2018/07/12/bootstrap-4-1-2WEB
- https://access.redhat.com/errata/RHSA-2019:1456WEB
- https://packetstormsecurity.com/files/152787/dotCMS-5.1.1-Vulnerable-Dependencies.htmlWEB
- https://packetstormsecurity.com/files/156743/OctoberCMS-Insecure-Dependencies.htmlWEB
- https://seclists.org/fulldisclosure/2019/May/10WEB
- https://seclists.org/fulldisclosure/2019/May/11WEB
- https://seclists.org/fulldisclosure/2019/May/13WEB
Frequently Asked Questions
- What is CVE-2018-14041?
- 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-2018-14041?
- CVE-2018-14041 affects bootstrap, typo3/cms and twbs/bootstrap (and 3 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2018-14041 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2021-21355HIGH
Unrestricted File Upload in Form Framework
- CVE-2023-24814HIGH
TYPO3 is vulnerable to Cross-Site Scripting via frontend rendering
- CVE-2018-20676MEDIUM
XSS vulnerability that affects bootstrap
- CVE-2018-14040MEDIUM
Bootstrap vulnerable to Cross-Site Scripting (XSS)
- CVE-2016-10735MEDIUM
Bootstrap Cross-site Scripting vulnerability
- CVE-2018-14042MEDIUM
Bootstrap Cross-site Scripting vulnerability
- CVE-2019-8331MEDIUM
Bootstrap Vulnerable to Cross-Site Scripting
- CVE-2018-20677MEDIUM
bootstrap Cross-site Scripting vulnerability
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies