Skip to main content

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

MEDIUM

Bootstrap Cross-site Scripting vulnerability

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

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (4.25%). Schedule for your next planned update.

Does your project use an affected twbs/bootstrap version?

Paste your composer.lock to check it for CVE-2018-14041 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my composer.lock

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 (2996 days ago).
  • Last revised November 20, 2025 — 2625 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

NuGet
Update bootstrap.sass to 4.1.2 or later
dotnet add package bootstrap.sass --version 4.1.2
Composer
Update twbs/bootstrap to 4.1.2 or later
composer require "twbs/bootstrap:^4.1.2"
NuGet
Update bootstrap to 4.1.2 or later
dotnet add package bootstrap --version 4.1.2
npm
Update bootstrap to 4.1.2 or later
npm install bootstrap@4.1.2
Bundler
Update bootstrap to 4.1.2 or later
gem install bootstrap -v 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 -->
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"
Composer
Update typo3/cms to 9.5.4 or later
composer require "typo3/cms:^9.5.4"
Composer
Update typo3/cms-core to 9.5.4 or later
composer require "typo3/cms-core:^9.5.4"

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (10)

Affects 5 ecosystems: Packagist (3), NuGet (2), Maven (1), npm (1), RubyGems (1).

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

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.sass, twbs/bootstrap and bootstrap (and 3 more). It has a 4.2% probability of exploitation within 30 days (EPSS score). 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 the impact is limited.

EPSS Score (30-day exploit probability)
4.25%
EPSS percentile: 91.8

This places it in the top 10% of EPSS-scored vulnerabilities — 91.8% of tracked vulnerabilities score at or below it, so it is substantially more likely to be exploited than most tracked vulnerabilities.

Also Known As

GHSA-pj7m-g53m-7638

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my composer.lock