cve.bz

CVE-2018-14040 Cross-site Scripting

6.1 mediumExploit referenceEPSS 4.1%Fix available

Medium (6.1). EPSS 4.1% estimated probability of exploitation activity in the next 30 days. Fixed in bootstrap 3.4.0, 4.1.2.

On this page
In Bootstrap before 4.1.2, XSS is possible in the collapse data-parent attribute.

Severity

CVSS 3.0

6.1 medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
4.1% (unchanged from 4.1% a week ago; 4.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-14040 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-14040?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-14040?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-14040 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
debian:debian_linux8.0
getbootstrap:bootstrapbefore 3.4.0
getbootstrap:bootstrapfrom 4.0.0 before 4.1.2
getbootstrap:bootstrap4.0.0:alpha
getbootstrap:bootstrap4.0.0:alpha2
getbootstrap:bootstrap4.0.0:alpha3
getbootstrap:bootstrap4.0.0:alpha4
getbootstrap:bootstrap4.0.0:alpha5
getbootstrap:bootstrap4.0.0:alpha6
getbootstrap:bootstrap4.0.0:beta
getbootstrap:bootstrap4.0.0:beta2
getbootstrap:bootstrap4.0.0:beta3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3wqf-4x89-9g79npmbootstrap>=4.0.0 <4.1.24.1.2
GHSA-3wqf-4x89-9g79RubyGemsbootstrap>=4.0.0 <4.1.24.1.2
GHSA-3wqf-4x89-9g79npmbootstrap>=2.3.0 <3.4.03.4.0
GHSA-3wqf-4x89-9g79RubyGemsbootstrap>=2.3.0 <3.4.03.4.0
GHSA-3wqf-4x89-9g79Mavenorg.webjars:bootstrap>=4.0.0 <4.1.24.1.2
GHSA-3wqf-4x89-9g79Mavenorg.webjars:bootstrap>=2.3.0 <3.4.03.4.0
GHSA-3wqf-4x89-9g79NuGetbootstrap>=2.3.0 <3.4.03.4.0
GHSA-3wqf-4x89-9g79NuGetbootstrap>=4.0.0 <4.1.24.1.2
GHSA-3wqf-4x89-9g79NuGetbootstrap.sass>=4.0.0 <4.1.24.1.2
GHSA-3wqf-4x89-9g79RubyGemsbootstrap-sass>=2.3.0 <3.4.03.4.0
GHSA-3wqf-4x89-9g79Packagisttwbs/bootstrap>=2.3.0 <3.4.03.4.0
GHSA-3wqf-4x89-9g79Packagisttwbs/bootstrap>=4.0.0 <4.1.24.1.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8twitter-bootstrap33.2.0+dfsg-1+deb7u1DLA-1479-1
Debian12, 13, 14twitter-bootstrap33.4.0+dfsg-1DEBIAN-CVE-2018-14040
Ubuntu16.04:LTS, 18.04:LTStwitter-bootstrapno fix listedUBUNTU-CVE-2018-14040
UbuntuPro:16.04:LTS, Pro:18.04:LTStwitter-bootstrap3no fix listedUBUNTU-CVE-2018-14040
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreipa, ipa-client, ipa-common and 10 more0:4.6.8-5.el7RHSA-2020:3936
Red Hatenterprise_linux:8::appstreamapache-commons-collections0:3.2.2-10.module+el8.1.0+3366+6dfb954cRHSA-2020:4847
Red Hatenterprise_linux:8::appstreamapache-commons-lang0:2.6-21.module+el8.1.0+3366+6dfb954cRHSA-2020:4847
Red Hatenterprise_linux:8::appstreamapache-commons-net0:3.6-3.module+el8.3.0+6805+72837426RHSA-2020:4847
Red Hatenterprise_linux:8::appstreambea-stax, bea-stax-api0:1.2.0-16.module+el8.1.0+3366+6dfb954cRHSA-2020:4847
Red Hatenterprise_linux:8::appstreambind-dyndb-ldap, bind-dyndb-ldap-debuginfo, bind-dyndb-ldap-debugsource0:11.3-1.module+el8.3.0+6993+104f8db0RHSA-2020:4670
Red Hatenterprise_linux:8::appstreamcustodia, python3-custodia0:0.6.0-3.module+el8.1.0+4098+f286395eRHSA-2020:4670
Red Hatenterprise_linux:8::appstreamglassfish-fastinfoset0:1.2.13-9.module+el8.1.0+3366+6dfb954cRHSA-2020:4847
Red Hatenterprise_linux:8::appstreamglassfish-jaxb, glassfish-jaxb-core, glassfish-jaxb-txw2 and 1 more0:2.2.11-11.module+el8.1.0+3366+6dfb954cRHSA-2020:4847
Red Hatenterprise_linux:8::appstreamglassfish-jaxb-api0:2.2.12-8.module+el8.1.0+3366+6dfb954cRHSA-2020:4847
Red Hatenterprise_linux:8::appstreamipa, ipa-client, ipa-common and 10 more0:4.8.7-12.module+el8.3.0+8223+6212645fRHSA-2020:4670
Red Hatenterprise_linux:8::appstreamipa-healthcheck, ipa-healthcheck-core0:0.4-6.module+el8.3.0+7711+c4441980RHSA-2020:4670
85 more for Red Hat in the JSON and on Red Hat's page.
AlmaLinux8custodia, python3-custodia0.6.0-3.module_el8.6.0+2881+2f24dc92ALSA-2020:4670
AlmaLinux8python3-jwcrypto0.5.0-1.module_el8.5.0+2641+983b221bALSA-2020:4670
AlmaLinux8python3-jwcrypto0.5.0-1.module_el8.6.0+2737+7e73ea90ALSA-2020:4670
AlmaLinux8python3-jwcrypto0.5.0-1.module_el8.6.0+2881+2f24dc92ALSA-2020:4670
AlmaLinux8python3-kdcproxy0.4-5.module_el8.6.0+2881+2f24dc92ALSA-2020:4670
AlmaLinux8python3-pyusb1.0.0-9.module_el8.5.0+2641+983b221bALSA-2020:4670
AlmaLinux8python3-pyusb1.0.0-9.module_el8.6.0+2737+7e73ea90ALSA-2020:4670
AlmaLinux8python3-pyusb1.0.0-9.module_el8.6.0+2881+2f24dc92ALSA-2020:4670
AlmaLinux8python3-qrcode, python3-qrcode-core5.1-12.module_el8.5.0+2641+983b221bALSA-2020:4670
AlmaLinux8python3-qrcode, python3-qrcode-core5.1-12.module_el8.6.0+2737+7e73ea90ALSA-2020:4670
AlmaLinux8python3-qrcode, python3-qrcode-core5.1-12.module_el8.6.0+2881+2f24dc92ALSA-2020:4670
AlmaLinux8python3-yubico1.3.2-9.module_el8.5.0+2641+983b221bALSA-2020:4670
2 more for AlmaLinux in the JSON.
Rocky Linux8apache-commons-collections0:3.2.2-10.module+el8.3.0+53+ea062990RLSA-2020:4847
Rocky Linux8apache-commons-collections0:3.2.2-10.module+el8.3.0+74+855e3f5dRLSA-2020:4847
Rocky Linux8apache-commons-lang0:2.6-21.module+el8.3.0+53+ea062990RLSA-2020:4847
Rocky Linux8apache-commons-lang0:2.6-21.module+el8.3.0+74+855e3f5dRLSA-2020:4847
Rocky Linux8apache-commons-net0:3.6-3.module+el8.3.0+53+ea062990RLSA-2020:4847
Rocky Linux8apache-commons-net0:3.6-3.module+el8.3.0+74+855e3f5dRLSA-2020:4847
Rocky Linux8bea-stax0:1.2.0-16.module+el8.3.0+53+ea062990RLSA-2020:4847
Rocky Linux8custodia0:0.6.0-3.module+el8.4.0+429+6bd33feaRLSA-2020:4670
Rocky Linux8glassfish-fastinfoset0:1.2.13-9.module+el8.3.0+53+ea062990RLSA-2020:4847
Rocky Linux8glassfish-jaxb0:2.2.11-11.module+el8.3.0+53+ea062990RLSA-2020:4847
Rocky Linux8glassfish-jaxb-api0:2.2.12-8.module+el8.3.0+53+ea062990RLSA-2020:4847
Rocky Linux8jackson-core, jackson-databind, jackson-annotations0:2.10.0-1.module+el8.3.0+53+ea062990RLSA-2020:4847
36 more for Rocky Linux in the JSON.
Azure Linux2python-openstackdocsthemeno fix listedAZL-43750
Azure Linux2reaper3.1.1-1AZL-13232
Azure Linux3python-openstackdocsthemeno fix listedAZL-44334

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat Satellite 6.2 and newer versions don't use the bootstrap library, hence are not affected by this flaw.

Red Hat CloudForms 4.6 and newer versions include the vulnerable component, but there is no risk of exploitation, since there is no possible vector to access the vulnerability. Older Red Hat CloudForms versions don't use the vulnerable component at all.

Red Hat Enterprise Satellite 5 is now in Maintenance Support 2 phase of the support and maintenance life cycle. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Satellite 5 Life Cycle: https://access.redhat.com/support/policy/updates/satellite.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7ipa-0:4.6.8-5.el7Fixed 2020-09-29RHSA-2020:3936
Red Hat Enterprise Linux 8idm:client-8030020200923172426.05ac3f11Fixed 2020-11-04RHSA-2020:4670
Red Hat Enterprise Linux 8idm:DL1-8030020200923172343.9c827e52Fixed 2020-11-04RHSA-2020:4670
Red Hat Enterprise Linux 8pki-core:10.6-8030020200911215836.5ff1562fFixed 2020-11-04RHSA-2020:4847
Red Hat Enterprise Linux 8pki-deps:10.6-8030020200527165326.30b713e6Fixed 2020-11-04RHSA-2020:4847
Red Hat JBoss Enterprise Application Platform 7.4.9org.jboss.hal/hal-console:3.3.16.Final-redhat-00001Fixed 2023-01-31RHSA-2023:0556
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-hal-console-0:3.3.16-1.Final_redhat_00001.1.el8eapFixed 2023-01-31RHSA-2023:0553
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9eap7-hal-console-0:3.3.16-1.Final_redhat_00001.1.el9eapFixed 2023-01-31RHSA-2023:0554
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7eap7-hal-console-0:3.3.16-1.Final_redhat_00001.1.el7eapFixed 2023-01-31RHSA-2023:0552
Red Hat Single Sign-On 7.0keycloak-themeFixed 2023-03-01RHSA-2023:1049
CloudForms Management Engine 5cfme-gemsetNot affected
Red Hat 3scale API Management Platform 2bootstrapNot affected
Red Hat Decision Manager 7bootstrapWill not fix
Red Hat Enterprise Linux 7pki-coreWill not fix
Red Hat OpenStack Platform 10 (Newton)python-XStatic-Bootstrap-SCSSWill not fix
Red Hat OpenStack Platform 12 (Pike)python-XStatic-Bootstrap-SCSSAffected
Red Hat OpenStack Platform 13 (Queens)python-XStatic-Bootstrap-SCSSWill not fix
Red Hat OpenStack Platform 14 (Rocky)python-XStatic-Bootstrap-SCSSAffected
Red Hat OpenStack Platform 8 (Liberty)python-XStatic-Bootstrap-SCSSWill not fix
Red Hat OpenStack Platform 9 (Mitaka)python-XStatic-Bootstrap-SCSSWill not fix
9 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-14040.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-22-055-02Mitsubishi Electric EcoWebServerIII2022-02-24Critical ManufacturingMES3-255C-CN: Versions 3.0.0 to 3.3.0, MES3-255C-DM-CN: Versions 3.0.0 to 3.3.0, MES3-255C-DM-EN: Versions 3.0.0 to 3.3.0 and 1 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON