Loading...
Skip to main content

CVE-2018-14041 — Vulnerability in bootstrap — CVE Details

MEDIUM

Bootstrap Cross-site Scripting vulnerability

Published September 13, 2018Updated November 20, 2025Source: osv

Summary

In Bootstrap 4.x before 4.1.2, XSS is possible in the data-target property of scrollspy. This is similar to CVE-2018-14042.

Advisory Timeline

  • First published September 13, 2018 (2951 days ago).
  • Last revised November 20, 2025 — 2625 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update bootstrap to 4.1.2 or later
gem install bootstrap -v 4.1.2
Composer
Update typo3/cms to 9.5.4 or later
composer require "typo3/cms:^9.5.4"
Composer
Update twbs/bootstrap to 4.1.2 or later
composer require "twbs/bootstrap:^4.1.2"
Composer
Update typo3/cms-core to 9.5.4 or later
composer require "typo3/cms-core:^9.5.4"
npm
Update bootstrap to 4.1.2 or later
npm install bootstrap@4.1.2
Maven
Update org.webjars:bootstrap to 4.1.2 or later
<!-- Update pom.xml dependency version to 4.1.2 for org.webjars:bootstrap -->
NuGet
Update bootstrap.sass to 4.1.2 or later
dotnet add package bootstrap.sass --version 4.1.2
NuGet
Update bootstrap to 4.1.2 or later
dotnet add package bootstrap --version 4.1.2
Composer
Update typo3/cms-core to 8.7.23 or later
composer require "typo3/cms-core:^8.7.23"
Composer
Update typo3/cms to 8.7.23 or later
composer require "typo3/cms:^8.7.23"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (10)

Affects 5 ecosystems: packagist (3), nuget (2), maven (1), npm (1), rubygems (1).

PackageEcosystemAffectedFixed In
bootstrap
rubygems
4.0.0, 4.1.0, 4.1.14.1.2
typo3/cms
packagist
v9.0.0, v9.1.0, v9.2.0, v9.2.1 (+9 more)9.5.4
twbs/bootstrap
packagist
v4.0.0, v4.1.0, v4.1.14.1.2
typo3/cms-core
packagist
v9.0.0, v9.1.0, v9.2.0, v9.2.1 (+9 more)9.5.4
bootstrap
npm
All versions4.1.2
org.webjars:bootstrap
maven
4.0.0, 4.0.0-1, 4.0.0-2, 4.1.0 (+1 more)4.1.2
bootstrap.sass
nuget
4.0.0, 4.1.0, 4.1.1, 4.1.1-contentFiles4.1.2
bootstrap
nuget
4.0.0, 4.1.0, 4.1.1, 4.1.1-contentFiles4.1.2
typo3/cms-core
packagist
v8.7.10, v8.7.11, v8.7.12, v8.7.13 (+12 more)8.7.23
typo3/cms
packagist
8.0.0, 8.0.1, 8.1.0, 8.1.1 (+34 more)8.7.23

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 6.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

References

Frequently Asked Questions

What is CVE-2018-14041?
Bootstrap Cross-site Scripting vulnerability This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.1/10).
How do I check if my project is affected by CVE-2018-14041?
CVE-2018-14041 affects bootstrap, typo3/cms and twbs/bootstrap (and 3 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2018-14041 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
6.1

Exploitation requires specific conditions or has limited impact. Remediate within weeks.

Also Known As

GHSA-pj7m-g53m-7638

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies