Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. bootstrap
  4. ›
  5. CVE-2018-14040

CVE-2018-14040: Cross-site Scripting

July 13, 2018 (updated May 10, 2019)

In Bootstrap, XSS is possible in the collapse data-parent attribute.

References

  • blog.getbootstrap.com/2018/07/12/bootstrap-4-1-2/
  • github.com/twbs/bootstrap/issues/26423
  • github.com/twbs/bootstrap/issues/26625
  • github.com/twbs/bootstrap/pull/26630
  • nvd.nist.gov/vuln/detail/CVE-2018-14040

Code Behaviors & Features

Detect and mitigate CVE-2018-14040 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.4.0, all versions starting from 4.0.0 before 4.1.2

Fixed versions

  • 3.4.0
  • 4.1.2

Solution

Upgrade to versions 3.4.0, 4.1.2 or above.

Impact 6.1 MEDIUM

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

Learn more about CVSS

Weakness

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

Source file

npm/bootstrap/CVE-2018-14040.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:14 +0000.