Advisory

GHSA-3wqf-4x89-9g79

Also known as: CVE-2018-14040

Summary

Bootstrap vulnerable to Cross-Site Scripting (XSS)

Details

In Bootstrap starting in version 2.3.0 and prior to 3.4.0, as well as 4.x before 4.1.2, XSS is possible in the collapse data-parent attribute.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-13 01:07 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

bootstrap

npm · All systems

Affected

  • introduced 4.0.0, fixed 4.1.2 (semver)

Fixed versions

4.1.2

Fix

bootstrap

RubyGems · All systems

Affected

  • introduced 4.0.0, fixed 4.1.2 (ecosystem)

Fixed versions

4.1.2

Fix

The export has no generic command for this ecosystem.

bootstrap

npm · All systems

Affected

  • introduced 2.3.0, fixed 3.4.0 (semver)

Fixed versions

3.4.0

Fix

bootstrap

RubyGems · All systems

Affected

  • introduced 2.3.0, fixed 3.4.0 (ecosystem)

Fixed versions

3.4.0

Fix

The export has no generic command for this ecosystem.

bootstrap

NuGet · All systems

Affected

  • introduced 2.3.0, fixed 3.4.0 (ecosystem)

Fixed versions

3.4.0

Fix

The export has no generic command for this ecosystem.

bootstrap

NuGet · All systems

Affected

  • introduced 4.0.0, fixed 4.1.2 (ecosystem)

Fixed versions

4.1.2

Fix

The export has no generic command for this ecosystem.

bootstrap.sass

NuGet · All systems

Affected

  • introduced 4.0.0, fixed 4.1.2 (ecosystem)

Fixed versions

4.1.2

Fix

The export has no generic command for this ecosystem.

bootstrap-sass

RubyGems · All systems

Affected

  • introduced 2.3.0, fixed 3.4.0 (ecosystem)

Fixed versions

3.4.0

Fix

The export has no generic command for this ecosystem.

twbs/bootstrap

Packagist · All systems

Affected

  • introduced 2.3.0, fixed 3.4.0 (ecosystem)

Fixed versions

3.4.0

Fix

The export has no generic command for this ecosystem.

twbs/bootstrap

Packagist · All systems

Affected

  • introduced 4.0.0, fixed 4.1.2 (ecosystem)

Fixed versions

4.1.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences