In Bootstrap before 3.4.1 and 4.3.x before 4.3.1, XSS is possible in the tooltip or popover data-template attribute.
CVE-2019-8331
This medium-severity CVE scores 6.1 under NVD CVSS v3. EPSS exploit probability: 1.7%, top 18% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 6.1
- EG Score
- 6.1(medium)
- EPSS
- 96.7%
- KEV
- Not listed
Published
February 20, 2019
Last Modified
November 21, 2024
References (54)
- cve@mitrehttp://packetstormsecurity.com/files/156743/OctoberCMS-Insecure-Dependencies.html
- cve@mitrehttp://seclists.org/fulldisclosure/2019/May/10
- cve@mitrehttp://seclists.org/fulldisclosure/2019/May/11
- cve@mitrehttp://seclists.org/fulldisclosure/2019/May/13
- cve@mitrehttp://www.securityfocus.com/bid/107375
- cve@mitrehttps://access.redhat.com/errata/RHSA-2019:1456
- cve@mitrehttps://access.redhat.com/errata/RHSA-2019:3023
- cve@mitrehttps://access.redhat.com/errata/RHSA-2019:3024
- cve@mitrehttps://blog.getbootstrap.com/2019/02/13/bootstrap-4-3-1-and-3-4-1/
- cve@mitrehttps://github.com/twbs/bootstrap/pull/28236
- cve@mitrehttps://github.com/twbs/bootstrap/releases/tag/v3.4.1
- cve@mitrehttps://github.com/twbs/bootstrap/releases/tag/v4.3.1
- cve@mitrehttps://lists.apache.org/thread.html/10f0f3aefd51444d1198c65f44ffdf2d78ca3359423dbc1c168c9731%40%3Cdev.flink.apache.org%3E
- cve@mitrehttps://lists.apache.org/thread.html/17ff53f7999e74fbe3cc0ceb4e1c3b00b180b7c5afec8e978837bc49%40%3Cuser.flink.apache.org%3E
- cve@mitrehttps://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f%40%3Cdev.drill.apache.org%3E
Vendor Advisories for CVE-2019-8331(7)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2023:0556Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.9 Security update
- RHSA-2023:0554Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.9 Security update
- RHSA-2023:0552Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.9 Security update
- RHSA-2023:0553Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.9 Security update
- RHSA-2020:4847Red Hat Product SecurityMedium
Red Hat Security Advisory: pki-core:10.6 and pki-deps:10.6 security, bug fix, and enhancement update
- RHSA-2020:3247Red Hat Product SecurityHigh
Red Hat Security Advisory: RHV Manager (ovirt-engine) 4.4 security, bug fix, and enhancement update
- GHSA-9v3m-8fp8-mj99GitHub Security AdvisoriesMedium
Bootstrap Vulnerable to Cross-Site Scripting
Patch Availability(13)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | eap7-hal-console-0:3.3.16-1.Final_redhat_00001.1.el7eap | 2023-01-31 | redhat |
| redhat | eap7-hal-console-0:3.3.16-1.Final_redhat_00001.1.el9eap | 2023-01-31 | redhat |
| redhat | eap7-hal-console-0:3.3.16-1.Final_redhat_00001.1.el8eap | 2023-01-31 | redhat |
| redhat | bootstrap | 2023-01-31 | redhat |
| redhat | python-XStatic-Bootstrap-SCSS-0:3.4.1.0-2.el8ost | 2022-12-07 | redhat |
| redhat | io.hawt-project | 2022-11-28 | redhat |
| redhat | python-XStatic-Bootstrap-SCSS-0:3.4.1.0-1.el7ost | 2020-12-16 | redhat |
| redhat | pki-deps:10.6-8030020200527165326.30b713e6 | 2020-11-04 | redhat |
| redhat | idm:DL1-8030020200923172343.9c827e52 | 2020-11-04 | redhat |
| redhat | ipa-0:4.6.8-5.el7 | 2020-09-29 | redhat |
| redhat | ovirt-engine-api-explorer-0:0.0.6-1.el8ev | 2020-08-04 | redhat |
| redhat | ovirt-web-ui-0:1.6.0-1.el7ev | 2019-10-10 | redhat |
| redhat | ovirt-engine-ui-extensions-0:1.0.10-1.el7ev | 2019-10-10 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(10 across 5 ecosystems)
NuGet(3)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| bootstrap | 3.0.0 ... 3.4.0 (17 versions) | 3.4.1 | — |
| Bootstrap.Less | 3.3.5 ... 3.4.0 (6 versions) | 3.4.1 | — |
| bootstrap.sass | 3.4.1 ... 4.2.1 (17 versions) | 4.3.1 | — |
RubyGems(3)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| bootstrap | 4.0.0 ... 4.3.0 (18 versions) | 4.3.1 | — |
| bootstrap-sass | 3.0.0.0 ... 3.4.0 (24 versions) | 3.4.1 | — |
| twitter-bootstrap-rails | 0.0.3 ... 5.1.0 (46 versions) | 5.3.0 | — |
npm(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| bootstrap | — | 3.4.1 | — |
| bootstrap-sass | — | 3.4.1 | — |
Maven(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| org.webjars:bootstrap | 4.0.0 ... 4.3.0 (9 versions) | 4.3.1 | — |
Packagist(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| twbs/bootstrap | v4.0.0 ... v4.3.0 (8 versions) | 4.3.1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(9)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2019:1456MODERATE2019-02-11
RHSA-2019:1456 — Moderate
- Red HatRHSA-2019:3023MODERATE2019-02-11
RHSA-2019:3023 — Moderate
- Red HatRHSA-2019:3024MODERATE2019-02-11
RHSA-2019:3024 — Moderate
- Red HatRHSA-2020:3936MODERATE2019-02-11
RHSA-2020:3936 — Moderate
- Red HatRHSA-2020:4670MODERATE2019-02-11
RHSA-2020:4670 — Moderate
- Red HatRHSA-2020:5571MODERATE2019-02-11
RHSA-2020:5571 — Moderate
- Red HatRHSA-2022:8652MODERATE2019-02-11
RHSA-2022:8652 — Moderate
- Red HatRHSA-2022:8848MODERATE2019-02-11
RHSA-2022:8848 — Moderate
- Red HatRHSA-2022:8865MODERATE2019-02-11
RHSA-2022:8865 — Moderate
Publicly available exploits
(1 reference)Working exploit code is in the public domain (1 GitHub PoC). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoCYumeae/Bootstrap-with-XSSFirst seen Jul 21, 2025
A poc for Bootstrap XSS(CVE-2024-6485、CVE-2016-10735、CVE-2019-8331、CVE-2018-14040)
Open source ↗
Frequently asked(5)
What is CVE-2019-8331?
When was CVE-2019-8331 disclosed?
Is CVE-2019-8331 actively exploited?
What is the CVSS score of CVE-2019-8331?
How do I remediate CVE-2019-8331?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2019-8331
Is Your Infrastructure Affected by CVE-2019-8331?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.