In Bootstrap before 4.1.2, XSS is possible in the collapse data-parent attribute.
Priority LOW 34CWE-79Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Partial Red Hat: 16 fixed, 11 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.
Summary
In Bootstrap before 4.1.2, XSS is possible in the collapse data-parent attribute.
Why it matters now
EPSS 0.04135 90th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial bootstrap (npm): 4.1.2, 3.4.0bootstrap (RubyGems): 4.1.2, 3.4.0+5 more productsRed Hat: 12 advisoriesRed Hat: 16 fixed, 11 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | bootstrap (npm) | 4.0.0 to before 4.1.2 | 4.1.2 | Patch available | GHSA-3wqf-4x89-9g79 |
| — | bootstrap (RubyGems) | 4.0.0 to before 4.1.2 | 4.1.2 | Patch available | GHSA-3wqf-4x89-9g79 |
| — | bootstrap (npm) | 2.3.0 to before 3.4.0 | 3.4.0 | Patch available | GHSA-3wqf-4x89-9g79 |
| — | bootstrap (RubyGems) | 2.3.0 to before 3.4.0 | 3.4.0 | Patch available | GHSA-3wqf-4x89-9g79 |
| — | org.webjars:bootstrap (Maven) | 4.0.0 to before 4.1.2 | 4.1.2 | Patch available | GHSA-3wqf-4x89-9g79 |
| — | org.webjars:bootstrap (Maven) | 2.3.0 to before 3.4.0 | 3.4.0 | Patch available | GHSA-3wqf-4x89-9g79 |
| — | bootstrap (NuGet) | 2.3.0 to before 3.4.0 | 3.4.0 | Patch available | GHSA-3wqf-4x89-9g79 |
| — | bootstrap (NuGet) | 4.0.0 to before 4.1.2 | 4.1.2 | Patch available | GHSA-3wqf-4x89-9g79 |
| — | bootstrap.sass (NuGet) | 4.0.0 to before 4.1.2 | 4.1.2 | Patch available | GHSA-3wqf-4x89-9g79 |
| — | bootstrap-sass (RubyGems) | 2.3.0 to before 3.4.0 | 3.4.0 | Patch available | GHSA-3wqf-4x89-9g79 |
| — | twbs/bootstrap (Packagist) | 2.3.0 to before 3.4.0 | 3.4.0 | Patch available | GHSA-3wqf-4x89-9g79 |
| — | twbs/bootstrap (Packagist) | 4.0.0 to before 4.1.2 | 4.1.2 | Patch available | GHSA-3wqf-4x89-9g79 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- bootstrap (npm) Vendor— Affected 4.0.0 to before 4.1.2 Fixed in 4.1.2 Patch available GHSA-3wqf-4x89-9g79
- bootstrap (RubyGems) Vendor— Affected 4.0.0 to before 4.1.2 Fixed in 4.1.2 Patch available GHSA-3wqf-4x89-9g79
- bootstrap (npm) Vendor— Affected 2.3.0 to before 3.4.0 Fixed in 3.4.0 Patch available GHSA-3wqf-4x89-9g79
- bootstrap (RubyGems) Vendor— Affected 2.3.0 to before 3.4.0 Fixed in 3.4.0 Patch available GHSA-3wqf-4x89-9g79
- org.webjars:bootstrap (Maven) Vendor— Affected 4.0.0 to before 4.1.2 Fixed in 4.1.2 Patch available GHSA-3wqf-4x89-9g79
- org.webjars:bootstrap (Maven) Vendor— Affected 2.3.0 to before 3.4.0 Fixed in 3.4.0 Patch available GHSA-3wqf-4x89-9g79
- bootstrap (NuGet) Vendor— Affected 2.3.0 to before 3.4.0 Fixed in 3.4.0 Patch available GHSA-3wqf-4x89-9g79
- bootstrap (NuGet) Vendor— Affected 4.0.0 to before 4.1.2 Fixed in 4.1.2 Patch available GHSA-3wqf-4x89-9g79
- bootstrap.sass (NuGet) Vendor— Affected 4.0.0 to before 4.1.2 Fixed in 4.1.2 Patch available GHSA-3wqf-4x89-9g79
- bootstrap-sass (RubyGems) Vendor— Affected 2.3.0 to before 3.4.0 Fixed in 3.4.0 Patch available GHSA-3wqf-4x89-9g79
- twbs/bootstrap (Packagist) Vendor— Affected 2.3.0 to before 3.4.0 Fixed in 3.4.0 Patch available GHSA-3wqf-4x89-9g79
- twbs/bootstrap (Packagist) Vendor— Affected 4.0.0 to before 4.1.2 Fixed in 4.1.2 Patch available GHSA-3wqf-4x89-9g79
CPE configurations NVD · 11
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:a:getbootstrap:bootstrap:*:*:*:*:*:*:*:* | before 3.4.0; 4.0.0 to before 4.1.2 | Vulnerable | Getbootstrap |
| cpe:2.3:a:getbootstrap:bootstrap:4.0.0:alpha:*:*:*:*:*:* | 4.0.0 alpha | Vulnerable | Getbootstrap |
| cpe:2.3:a:getbootstrap:bootstrap:4.0.0:alpha2:*:*:*:*:*:* | 4.0.0 alpha2 | Vulnerable | Getbootstrap |
| cpe:2.3:a:getbootstrap:bootstrap:4.0.0:alpha3:*:*:*:*:*:* | 4.0.0 alpha3 | Vulnerable | Getbootstrap |
| cpe:2.3:a:getbootstrap:bootstrap:4.0.0:alpha4:*:*:*:*:*:* | 4.0.0 alpha4 | Vulnerable | Getbootstrap |
| cpe:2.3:a:getbootstrap:bootstrap:4.0.0:alpha5:*:*:*:*:*:* | 4.0.0 alpha5 | Vulnerable | Getbootstrap |
| cpe:2.3:a:getbootstrap:bootstrap:4.0.0:alpha6:*:*:*:*:*:* | 4.0.0 alpha6 | Vulnerable | Getbootstrap |
| cpe:2.3:a:getbootstrap:bootstrap:4.0.0:beta:*:*:*:*:*:* | 4.0.0 beta | Vulnerable | Getbootstrap |
| cpe:2.3:a:getbootstrap:bootstrap:4.0.0:beta2:*:*:*:*:*:* | 4.0.0 beta2 | Vulnerable | Getbootstrap |
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:a:getbootstrap:bootstrap:*:*:*:*:*:*:*:* Versions before 3.4.0; 4.0.0 to before 4.1.2 Vulnerable ·Getbootstrap
- cpe:2.3:a:getbootstrap:bootstrap:4.0.0:alpha:*:*:*:*:*:* Versions 4.0.0 alpha Vulnerable ·Getbootstrap
- cpe:2.3:a:getbootstrap:bootstrap:4.0.0:alpha2:*:*:*:*:*:* Versions 4.0.0 alpha2 Vulnerable ·Getbootstrap
- cpe:2.3:a:getbootstrap:bootstrap:4.0.0:alpha3:*:*:*:*:*:* Versions 4.0.0 alpha3 Vulnerable ·Getbootstrap
- cpe:2.3:a:getbootstrap:bootstrap:4.0.0:alpha4:*:*:*:*:*:* Versions 4.0.0 alpha4 Vulnerable ·Getbootstrap
- cpe:2.3:a:getbootstrap:bootstrap:4.0.0:alpha5:*:*:*:*:*:* Versions 4.0.0 alpha5 Vulnerable ·Getbootstrap
- cpe:2.3:a:getbootstrap:bootstrap:4.0.0:alpha6:*:*:*:*:*:* Versions 4.0.0 alpha6 Vulnerable ·Getbootstrap
- cpe:2.3:a:getbootstrap:bootstrap:4.0.0:beta:*:*:*:*:*:* Versions 4.0.0 beta Vulnerable ·Getbootstrap
- cpe:2.3:a:getbootstrap:bootstrap:4.0.0:beta2:*:*:*:*:*:* Versions 4.0.0 beta2 Vulnerable ·Getbootstrap
Show 1 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:getbootstrap:bootstrap:4.0.0:beta3:*:*:*:*:*:* | 4.0.0 beta3 | Vulnerable | Getbootstrap |
- cpe:2.3:a:getbootstrap:bootstrap:4.0.0:beta3:*:*:*:*:*:* Versions 4.0.0 beta3 Vulnerable ·Getbootstrap
Remediation
- Fix · GHSA-3wqf-4x89-9g79 bootstrap (npm) Fixed in 4.1.2 Advisory →
- Fix · GHSA-3wqf-4x89-9g79 bootstrap (RubyGems) Fixed in 4.1.2 Advisory →
- Fix · GHSA-3wqf-4x89-9g79 bootstrap (npm) Fixed in 3.4.0 Advisory →
- Fix · GHSA-3wqf-4x89-9g79 bootstrap (RubyGems) Fixed in 3.4.0 Advisory →
- Fix · GHSA-3wqf-4x89-9g79 org.webjars:bootstrap (Maven) Fixed in 4.1.2 Advisory →
- Fix · GHSA-3wqf-4x89-9g79 org.webjars:bootstrap (Maven) Fixed in 3.4.0 Advisory →
- Fix · GHSA-3wqf-4x89-9g79 bootstrap (NuGet) Fixed in 3.4.0 Advisory →
- Fix · GHSA-3wqf-4x89-9g79 bootstrap (NuGet) Fixed in 4.1.2 Advisory →
- Fix · GHSA-3wqf-4x89-9g79 bootstrap.sass (NuGet) Fixed in 4.1.2 Advisory →
- Fix · GHSA-3wqf-4x89-9g79 bootstrap-sass (RubyGems) Fixed in 3.4.0 Advisory →
- Fix · GHSA-3wqf-4x89-9g79 twbs/bootstrap (Packagist) Fixed in 3.4.0 Advisory →
- Fix · GHSA-3wqf-4x89-9g79 twbs/bootstrap (Packagist) Fixed in 4.1.2 Advisory →
Red Hat 12 advisories
- RHSA-2023:1043 Released 2023-03-01 · Red Hat rating ImportantRed Hat Single Sign-On 7.6.2 security update on RHEL 7
- Red Hat Single Sign-On 7.6 for RHEL 7 Server rh-sso7-keycloak-18.0.6-1.redhat_00001.1.el7sso, rh-sso7-keycloak-server-18.0.6-1.redhat_00001.1.el7sso
- RHSA-2023:1049 Released 2023-03-01 · Red Hat rating ImportantRed Hat Single Sign-On 7.6.2 security update
- Red Hat Single Sign-On 7
- RHSA-2023:1047 Released 2023-03-01 · Red Hat rating ImportantRed Hat Single Sign-On 7.6.2 for OpenShift image security and enhancement update
- Middleware Containers for OpenShift rh-sso-7/sso76-openshift-rhel8
Show 9 more Red Hat advisories
- RHSA-2023:1045 Released 2023-03-01 · Red Hat rating ImportantRed Hat Single Sign-On 7.6.2 security update on RHEL 9
- Red Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloak-18.0.6-1.redhat_00001.1.el9sso, rh-sso7-keycloak-server-18.0.6-1.redhat_00001.1.el9sso
- RHSA-2023:1044 Released 2023-03-01 · Red Hat rating ImportantRed Hat Single Sign-On 7.6.2 security update on RHEL 8
- Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak-18.0.6-1.redhat_00001.1.el8sso, rh-sso7-keycloak-server-18.0.6-1.redhat_00001.1.el8sso
- RHSA-2023:0556 Released 2023-01-31 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.4.9 Security update
- Red Hat JBoss Enterprise Application Platform 7.4.9 com.fasterxml.jackson.core.jackson-databind-2.12.7.redhat-00003.jar, com.fasterxml.woodstox.woodstox-core-6.4.0.redhat-00001.jar, org.apache.cxf.cxf-core-3.4.10.redhat-00001.jar +4
- RHSA-2023:0554 Released 2023-01-31 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.4.9 Security update
- Red Hat JBoss EAP 7.4 for RHEL 9 eap7-apache-sshd-2.9.2-1.redhat_00001.1.el9eap, eap7-elytron-web-1.9.3-1.Final_redhat_00001.1.el9eap, eap7-hal-console-3.3.16-1.Final_redhat_00001.1.el9eap +44
- RHSA-2023:0552 Released 2023-01-31 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.4.9 Security update
- Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-apache-sshd-2.9.2-1.redhat_00001.1.el7eap, eap7-elytron-web-1.9.3-1.Final_redhat_00001.1.el7eap, eap7-hal-console-3.3.16-1.Final_redhat_00001.1.el7eap +46
- RHSA-2023:0553 Released 2023-01-31 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.4.9 Security update
- Red Hat JBoss EAP 7.4 for RHEL 8 eap7-apache-sshd-2.9.2-1.redhat_00001.1.el8eap, eap7-elytron-web-1.9.3-1.Final_redhat_00001.1.el8eap, eap7-hal-console-3.3.16-1.Final_redhat_00001.1.el8eap +44
- RHSA-2020:4847 Released 2020-11-04 · Red Hat rating Moderatepki-core:10.6 and pki-deps:10.6 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) apache-commons-collections-3.2.2-10.module+el8.1.0+3366+6dfb954c.noarch::pki-deps:10.6, apache-commons-collections-3.2.2-10.module+el8.1.0+3366+6dfb954c.src::pki-deps:10.6, apache-commons-lang-2.6-21.module+el8.1.0+3366+6dfb954c.noarch::pki-deps:10.6 +47
- RHSA-2020:4670 Released 2020-11-04 · Red Hat rating Moderateidm:DL1 and idm:client security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) bind-dyndb-ldap-11.3-1.module+el8.3.0+6993+104f8db0.aarch64::idm:DL1, bind-dyndb-ldap-11.3-1.module+el8.3.0+6993+104f8db0.ppc64le::idm:DL1, bind-dyndb-ldap-11.3-1.module+el8.3.0+6993+104f8db0.s390x::idm:DL1 +47
- RHSA-2020:3936 Released 2020-09-29 · Red Hat rating Moderateipa security, bug fix, and enhancement update
- Red Hat Enterprise Linux Client (v. 7) ipa-4.6.8-5.el7, ipa-client-4.6.8-5.el7, ipa-client-common-4.6.8-5.el7 +4
- Red Hat Enterprise Linux Client Optional (v. 7) ipa-server-4.6.8-5.el7, ipa-server-common-4.6.8-5.el7, ipa-server-dns-4.6.8-5.el7 +2
- Red Hat Enterprise Linux ComputeNode (v. 7) ipa-4.6.8-5.el7, ipa-client-4.6.8-5.el7, ipa-client-common-4.6.8-5.el7 +4
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) ipa-server-4.6.8-5.el7, ipa-server-common-4.6.8-5.el7, ipa-server-dns-4.6.8-5.el7 +2
- Red Hat Enterprise Linux Server (v. 7) ipa-4.6.8-5.el7, ipa-client-4.6.8-5.el7, ipa-client-common-4.6.8-5.el7 +9
- Red Hat Enterprise Linux Workstation (v. 7) ipa-4.6.8-5.el7, ipa-client-4.6.8-5.el7, ipa-client-common-4.6.8-5.el7 +9
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Decision Manager 7 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
| Red Hat OpenStack Platform 10 (Newton) | Affected | No fix planned: Will not fix |
| Red Hat OpenStack Platform 12 (Pike) | Affected | No fix yet |
| Red Hat OpenStack Platform 13 (Queens) | Affected | No fix planned: Will not fix |
| Red Hat OpenStack Platform 14 (Rocky) | Affected | No fix yet |
| Red Hat OpenStack Platform 8 (Liberty) | Affected | No fix planned: Will not fix |
| Red Hat OpenStack Platform 9 (Mitaka) | Affected | No fix planned: Will not fix |
| Red Hat Process Automation 7 | Affected | No fix planned: Will not fix |
| Red Hat Satellite 5 | Affected | No fix planned: Will not fix |
| Red Hat Virtualization 4 | Affected | No fix planned: Will not fix |
| Middleware Containers for OpenShift | Fixed | RHSA-2023:1047 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2020:4670, RHSA-2020:4847 |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2020:3936 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2020:3936 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2020:3936 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2020:3936 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2020:3936 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2020:3936 |
| Red Hat JBoss EAP 7.4 for RHEL 7 Server | Fixed | RHSA-2023:0552 |
| Red Hat JBoss EAP 7.4 for RHEL 8 | Fixed | RHSA-2023:0553 |
| Red Hat JBoss EAP 7.4 for RHEL 9 | Fixed | RHSA-2023:0554 |
| Red Hat JBoss Enterprise Application Platform 7.4.9 | Fixed | RHSA-2023:0556 |
| Red Hat Single Sign-On 7 | Fixed | RHSA-2023:1049 |
| Red Hat Single Sign-On 7.6 for RHEL 7 Server | Fixed | RHSA-2023:1043 |
| Red Hat Single Sign-On 7.6 for RHEL 8 | Fixed | RHSA-2023:1044 |
| Red Hat Single Sign-On 7.6 for RHEL 9 | Fixed | RHSA-2023:1045 |
Not affected: 8 products
- CloudForms Management Engine 5
- Red Hat 3scale API Management Platform 2
- Red Hat JBoss EAP 7.4 for RHEL 7 Server
- Red Hat JBoss EAP 7.4 for RHEL 8
- Red Hat JBoss EAP 7.4 for RHEL 9
- Red Hat JBoss Enterprise Application Platform 7.4.9
- Red Hat Quay 3
- Red Hat Satellite 6
Timeline
- 2026-10-02 Threatist record created from CVE-2018-14040
- 2026-10-03 Alias added: GHSA-3wqf-4x89-9g79
References
Advisory 4
Other 29
- 20190509 dotCMS v5.1.1 Vulnerabilities
- 20190510 dotCMS v5.1.1 HTML Injection & XSS Vulnerability
- 20190510 dotCMS v5.1.1 Vulnerabilities
- 20190510 Re: dotCMS v5.1.1 HTML Injection & XSS Vulnerability
- [superset-dev] 20190926 Re: [VOTE] Release Superset 0.34.1 based on Superset 0.34.1rc1
- [drill-dev] 20191017 Dependencies used by Drill contain known vulnerabilities
- [drill-dev] 20191021 [jira] [Created] (DRILL-7416) Updates required to dependencies to resolve potential security vulnerabilities
- [drill-issues] 20191021 [jira] [Created] (DRILL-7416) Updates required to dependencies to resolve potential security vulnerabilities
- http://packetstormsecurity.com/files/152787/dotCMS-5.1.1-Vulnerable-Dependencies.html
- http://packetstormsecurity.com/files/156743/OctoberCMS-Insecure-Dependencies.html
- [hbase-issues] 20201116 [GitHub] [hbase] symat opened a new pull request #2661: HBASE-25261 Upgrade Bootstrap to 3.4.1
- [pulsar-commits] 20201215 [GitHub] [pulsar] yanshuchong opened a new issue #8967: CVSS issue list
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://www.tenable.com/security/tns-2021-14
- https://github.com/twbs/bootstrap-rubygem/commit/f34c43c936ac7d0ebb129289321d8c51cd56aed1#diff-4e736e880b7fc39eb5e85576b629f6e3cd08f02f45104a7b4581f82852e97a81R1306
- https://github.com/twbs/bootstrap/commit/149096016f70fd815540d62c0989fd99cdc809e0
- https://github.com/twbs/bootstrap/commit/2a5ba23ce8f041f3548317acc992ed8a736b609d
- https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E
- https://lists.apache.org/thread.html/r3dc0cac8d856bca02bd6997355d7ff83027dcfc82f8646a29b89b714@%3Cissues.hbase.apache.org%3E
- https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3E
- https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3E
- https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e@%3Cdev.superset.apache.org%3E
- https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3E
- https://github.com/twbs/bootstrap/blob/v3.4.1/js/tooltip.js#L352
- https://github.com/twbs/bootstrap/blob/v3.4.1/js/scrollspy.js#L56
- https://github.com/twbs/bootstrap/blob/v3.4.1/js/collapse.js#L140
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2018-14040.yml
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2018-14040.yml
- https://blog.getbootstrap.com/2018/07/12/bootstrap-4-1-2
Sources
- CVE-2018-14040 · CVE Program
- CVE-2018-14040 · NVD
- FIRST EPSS
- GHSA-3wqf-4x89-9g79 · GitHub Advisory Database · CC BY 4.0
- CVE-2018-14040 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences