Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Linux

CVE-2018-14040

Medium · CVSS 6.1EPSS 4.1% First seen December 03, 2026
LinuxWebOperating systems

Research article

Bootstrap XSS Vulnerability in Tooltip and Collapse Plugins

CVECVE-2018-14040
PublishedDecember 04, 2026 01:00 UTC
Research cut-offDecember 04, 2026 00:50 UTC
Sources reviewed5: 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

FieldValue
CVE IDCVE-2018-14040
Vendorgetbootstrap.com
ProductBootstrap
CWECWE-79
CVSS 3.06.1 MEDIUM, scored by nvd@nist.gov
Published2018-07-13
Last Modified2026-06-17
Record StatusModified

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 ProductAffected VersionsFixed Version
Debian Linux8.0Not listed
Bootstrap< 3.4.03.4.0
Bootstrap≥ 4.0.0 < 4.1.24.1.2
Bootstrap4.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

  1. Upgrade Bootstrap to version 3.4.0 or 4.1.2 to apply the necessary security patches [1].
  2. Check whether Debian Linux 8.0 is in use; NVD lists no fixed version for it [1].
  3. Review the Ubuntu USN-9523-1 bulletin for specific guidance on affected Ubuntu versions [4].
  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

  1. 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. Vulnerability identification, Vulnerability description, Affected products and versions, Remediation
  2. 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. Exploitation and threat intelligence status
  3. Vendor advisory page (blog.getbootstrap.com). blog.getbootstrap.com. https://blog.getbootstrap.com/2018/07/12/bootstrap-4-1-2/. Accessed 2026-12-04. Remediation
  4. USN-9523-1: Bootstrap vulnerabilities. Ubuntu USN, 2026-12-03. https://ubuntu.com/security/notices/USN-9523-1. Accessed 2026-12-04. Affected products and versions
  5. 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. Exploitation and threat intelligence status

Written with AI assistance from the 5 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

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…

Excerpt from Ubuntu USN. No official description has been published yet.

Severity breakdown

Medium · 6.1 CVSS 3.0 base score from NVD

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

Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected and fixed versions

ProductAffected versionsFixed in
debian linux8.0—
getbootstrap bootstrap< 3.4.03.4.0
≥ 4.0.0, < 4.1.24.1.2
4.0.0 alpha, 4.0.0 alpha2, 4.0.0 alpha3 … 4.0.0 beta3 (9 versions)—

From NVD's CPE data; confirm with the vendor advisory before relying on a version number.

Public exploits

Exploit available Exploit code or a detailed exploitation write-up is public, so attacks are easier to carry out.

References by type

Vendor advisories

Patches and fixed releases

Other references

+1 more on the NVD record.

Details from NVD (public domain).

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