CVE-2018-14040
Research article
Bootstrap XSS Vulnerability in Tooltip and Collapse Plugins
| CVE | CVE-2018-14040 |
|---|---|
| Published | December 04, 2026 01:00 UTC |
| Research cut-off | December 04, 2026 00:50 UTC |
| Sources reviewed | 5: NVD record (last modified 2026-06-17); CISA KEV catalog; vendor advisory page (blog.getbootstrap.com); FIRST EPSS (2026-12-03); 1 vendor bulletin |
Executive summary
CVE-2018-14040 is described as a cross-site scripting issue (CWE-79) [1], and the Bootstrap vendor blog lists an XSS fix in the tooltip, collapse, and scrollspy plugins [3]. The CVSS 3.0 score is 6.1 MEDIUM, scored by NVD [1]. Affected versions include Debian Linux 8.0, Bootstrap < 3.4.0, and Bootstrap ≥ 4.0.0 < 4.1.2. The reviewed sources do not report exploitation [2]. NVD lists fixed versions 3.4.0 and 4.1.2 for Bootstrap [1]; NVD lists no fixed version for Debian Linux 8.0 [1].
Key points
- CVE-2018-14040 is described as a cross-site scripting issue (CWE-79) [1], and the Bootstrap vendor blog lists an XSS fix in the tooltip, collapse, and scrollspy plugins [3].
- The CVSS 3.0 score is 6.1 MEDIUM, scored by NVD [1].
- Affected versions include Debian Linux 8.0, Bootstrap < 3.4.0, and Bootstrap ≥ 4.0.0 < 4.1.2 [1].
- The reviewed sources do not report exploitation [2].
- NVD lists fixed versions 3.4.0 and 4.1.2 for Bootstrap [1]; NVD lists no fixed version for Debian Linux 8.0 [1].
Vulnerability identification
| Field | Value |
|---|---|
| CVE ID | CVE-2018-14040 |
| Vendor | getbootstrap.com |
| Product | Bootstrap |
| CWE | CWE-79 |
| CVSS 3.0 | 6.1 MEDIUM, scored by nvd@nist.gov |
| Published | 2018-07-13 |
| Last Modified | 2026-06-17 |
| Record Status | Modified |
Vulnerability description
Bootstrap's blog lists a fix for an XSS vulnerability in the tooltip, collapse, and scrollspy plugins [3], and Ubuntu describes it as Bootstrap not properly handling the collapse data-parent attribute [4].
Attack surface and exploitation prerequisites
According to the CVSS vector, the vulnerability requires user interaction (UI:R) and is accessible over the network (AV:N) [1]. The sources do not describe what attacker access is needed beyond this.
Impact analysis
The CVSS vector indicates low impact on confidentiality (C:L), low impact on integrity (I:L), and no impact on availability (A:N) [1]. The sources do not describe session cookie theft or actions on behalf of a user.
Affected products and versions
| Affected Product | Affected Versions | Fixed Version |
|---|---|---|
| Debian Linux | 8.0 | Not listed |
| Bootstrap | < 3.4.0 | 3.4.0 |
| Bootstrap | ≥ 4.0.0 < 4.1.2 | 4.1.2 |
| Bootstrap | 4.0.0 alpha, alpha2, alpha3 … beta3 (9 versions) | Not listed |
Exploitation and threat intelligence status
CVE-2018-14040 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-12-04 [2]. The EPSS score for this vulnerability is 4.07%, indicating a low probability of exploitation in the next 30 days [5].
Detection and exposure assessment
To determine if a system is exposed to this vulnerability, check if the installed version of Bootstrap falls within the affected range: < 3.4.0 or ≥ 4.0.0 < 4.1.2 [1]. No detection steps are provided by the sources.
Remediation
Bootstrap's fixed versions are listed as 3.4.0 and 4.1.2 [1], and the 4.1.2 release is described as a bug fix release that includes an XSS fix [3]. The Ubuntu bulletin states that CVE-2018-14040 only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS [4].
Remediation checklist
- Upgrade Bootstrap to version 3.4.0 or 4.1.2 to apply the necessary security patches [1].
- Check whether Debian Linux 8.0 is in use; NVD lists no fixed version for it [1].
- Review the Ubuntu USN-9523-1 bulletin for specific guidance on affected Ubuntu versions [4].
- Monitor for any new advisories or patches related to Bootstrap's tooltip and collapse plugins.
Evidence gaps
- The sources do not describe the affected component's internals.
- The sources do not mention a workaround.
- The sources do not provide a complete version range for all affected products.
- The sources do not establish whether the vulnerability has been exploited in the wild.
- The sources do not give indicators of compromise.
References
- CVE-2018-14040 record. NIST National Vulnerability Database (NVD), 2026-06-17. https://nvd.nist.gov/vuln/detail/CVE-2018-14040. Accessed 2026-12-04.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-04. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-04.
- Vendor advisory page (blog.getbootstrap.com). blog.getbootstrap.com. https://blog.getbootstrap.com/2018/07/12/bootstrap-4-1-2/. Accessed 2026-12-04.
- USN-9523-1: Bootstrap vulnerabilities. Ubuntu USN, 2026-12-03. https://ubuntu.com/security/notices/USN-9523-1. Accessed 2026-12-04.
- EPSS score for CVE-2018-14040. FIRST, 2026-12-03. https://api.first.org/data/v1/epss?cve=CVE-2018-14040. Accessed 2026-12-04.
Summary
It was discovered that Bootstrap did not properly handle the collapse data-parent attribute. An attacker could possibly use this issue to perform cross-site scripting attacks. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2018-14040) It was discovered that Bootstrap did not properly sanitize tooltip content. An attacker could possibly use this issue to perform cross-site sc…
Severity breakdown
Medium · 6.1
An attacker without an account can exploit this over the network if a user is tricked into an action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- yes, someone must click, open or visit something
- Scope
- reaches beyond the vulnerable component (e.g. from a sandbox or VM to the host)
- Impact
- low on confidentiality and integrity, none on availability
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| debian linux | 8.0 | — |
| getbootstrap bootstrap | < 3.4.0 | 3.4.0 |
| ≥ 4.0.0, < 4.1.2 | 4.1.2 | |
| 4.0.0 alpha, 4.0.0 alpha2, 4.0.0 alpha3 … 4.0.0 beta3 (9 versions) | — |
Public exploits
Exploit available
- github.com/twbs/bootstrap/issues/26625
- packetstormsecurity.com/files/152787/dotCMS-5.1.1-Vulnerable-Dependenci…
- packetstormsecurity.com/files/156743/OctoberCMS-Insecure-Dependencies.h…
References by type
Vendor advisories
Patches and fixed releases
Other references
- seclists.org/fulldisclosure/2019/May/10
- seclists.org/fulldisclosure/2019/May/11
- seclists.org/fulldisclosure/2019/May/13
- github.com/twbs/bootstrap/issues/26423
- lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82…
- lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5…
- lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12…
- lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2…
- lists.apache.org/thread.html/r3dc0cac8d856bca02bd6997355d7ff83027dcfc82…
- lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e299…
- lists.debian.org/debian-lts-announce/2018/08/msg00027.html
- seclists.org/bugtraq/2019/May/18
- oracle.com/security-alerts/cpuApr2021.html
Frequently asked questions
What is CVE-2018-14040?
CVE-2018-14040 is described as a cross-site scripting issue (CWE-79), and the Bootstrap vendor blog lists an XSS fix in the tooltip, collapse, and scrollspy plugins. The CVSS 3.0 score is 6.1 MEDIUM, scored by NVD. Affected versions include Debian Linux 8.0, Bootstrap < 3.4.0, and Bootstrap ≥ 4.0.0 < 4.1.2. The reviewed sources do not report exploitation. Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).
How severe is CVE-2018-14040?
CVE-2018-14040 has a CVSS 3.0 base score of 6.1 (medium), from NVD. An attacker without an account can exploit this over the network if a user is tricked into an action.
Is CVE-2018-14040 being exploited?
Not as far as is known: CVE-2018-14040 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026. Exploit code or a proof of concept has been published, which makes attacks more likely. EPSS estimates a 4.1% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2018-14040?
debian linux 8.0; getbootstrap bootstrap < 3.4.0 (fixed in 3.4.0); getbootstrap bootstrap ≥ 4.0.0, < 4.1.2 (fixed in 4.1.2); getbootstrap bootstrap 4.0.0 alpha, 4.0.0 alpha2, 4.0.0 alpha3 … 4.0.0 beta3 (9 versions).
How do I fix CVE-2018-14040?
Upgrade Bootstrap to version 3.4.0 or 4.1.2 to apply the necessary security patches. Check whether Debian Linux 8.0 is in use; NVD lists no fixed version for it. Review the Ubuntu USN-9523-1 bulletin for specific guidance on affected Ubuntu versions.
Timeline & sources
References
Related vulnerabilities & news
- Ubuntu Recommends System Updates for Orthanc Security Issues
- Linux Kernel IPv4 Forwarding Bug Lets Forged ICMP Cause Remote DoS
- Debian Patches Mercurial in DSA-6679-1, Fixing Flaws That Could Enable Code Execution
- Debian Patches freeradius Denial-of-Service Flaws in EAP Code (DSA-6680-1)
- CVE-2026-142441 — Red Hat Exploit Intelligence