CVE-2018-14042
MEDIUMBootstrap < 4.1.2 - Cross-Site Scripting via Tooltip Data-Container Property
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2018-14042. PoCs published by Snorlyd.
AI-analyzed exploit summary This repository contains a writeup detailing CVE-2018-14042, an XSS vulnerability in Bootstrap versions prior to 4.1.2. It describes how the data-target and data-dismiss attributes can be exploited to execute arbitrary JavaScript code.
Description
In Bootstrap before 4.1.2, XSS is possible in the data-container property of tooltip.
Exploits (1)
nomisec
WRITEUP
by Snorlyd · poc
https://github.com/Snorlyd/https-nj.gov---CVE-2018-14042
This repository contains a writeup detailing CVE-2018-14042, an XSS vulnerability in Bootstrap versions prior to 4.1.2. It describes how the data-target and data-dismiss attributes can be exploited to execute arbitrary JavaScript code.
Classification
Writeup 90%
Attack Type
Xss
Complexity
Trivial
Reliability
Reliable
Target:
Bootstrap < 4.1.2
No auth needed
Prerequisites:
A web application using a vulnerable version of Bootstrap
MITRE ATT&CK
devstral-2 · analyzed Feb 16, 2026
Full analysis →
References (17)
Core 17
Core References
Mailing List mailing-list
x_refsource_bugtraq
https://seclists.org/bugtraq/2019/May/18
Mailing List mailing-list
x_refsource_fulldisc
http://seclists.org/fulldisclosure/2019/May/11
Mailing List mailing-list
x_refsource_fulldisc
http://seclists.org/fulldisclosure/2019/May/10
Mailing List mailing-list
x_refsource_fulldisc
http://seclists.org/fulldisclosure/2019/May/13
Mailing List mailing-list
x_refsource_mlist
https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e%40%3Cdev.superset.apache.org%3E
Mailing List mailing-list
x_refsource_mlist
https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442%40%3Cdev.drill.apache.org%3E
Mailing List mailing-list
x_refsource_mlist
https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f%40%3Cdev.drill.apache.org%3E
Mailing List mailing-list
x_refsource_mlist
https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc%40%3Cissues.drill.apache.org%3E
Exploit, Third Party Advisory x_refsource_misc
http://packetstormsecurity.com/files/156743/OctoberCMS-Insecure-Dependencies.html
Mailing List mailing-list
x_refsource_mlist
https://lists.apache.org/thread.html/r3dc0cac8d856bca02bd6997355d7ff83027dcfc82f8646a29b89b714%40%3Cissues.hbase.apache.org%3E
Mailing List mailing-list
x_refsource_mlist
https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E
Vendor Advisory x_refsource_misc
https://www.oracle.com/security-alerts/cpuApr2021.html
Issue Tracking, Patch, Third Party Advisory x_refsource_misc
https://github.com/twbs/bootstrap/pull/26630
Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/twbs/bootstrap/issues/26423
Vendor Advisory x_refsource_misc
https://blog.getbootstrap.com/2018/07/12/bootstrap-4-1-2/
Exploit, Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/twbs/bootstrap/issues/26628
Third Party Advisory x_refsource_confirm
https://www.tenable.com/security/tns-2021-14
Scores
CVSS v3
6.1
EPSS
0.0228
EPSS Percentile
85.1%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Details
CWE
CWE-79
Status
published
Products (15)
getbootstrap/bootstrap
4.0.0 alpha (9 CPE variants)
getbootstrap/bootstrap
< 3.4.0
npm/bootstrap
2.3.0 - 3.4.0npm
npm/bootstrap
4.0.0 - 4.1.2npm
npm/bootstrap-sass
2.0.4 - 3.4.0npm
nuget/bootstrap
2.3.0 - 3.4.0NuGet
nuget/bootstrap
4.0.0 - 4.1.2NuGet
nuget/bootstrap.sass
4.0.0 - 4.1.2NuGet
org.webjars/bootstrap
2.3.0 - 3.4.0Maven
org.webjars/bootstrap
4.0.0 - 4.1.2Maven
... and 5 more
Published
Jul 13, 2018
Tracked Since
Feb 18, 2026