# Bootstrap Cross-site Scripting vulnerability

Advisory record · `GHSA-pj7m-g53m-7638`

- **Identifiers:** `GHSA-pj7m-g53m-7638` · `CVE-2018-14041` · `PKSA-6rbt-6s1d-gvry` · `PKSA-rdgg-rccc-bdkf` · `PKSA-ww37-6vs7-z8br`
- **State:** Confirmed
- **Severity:** CVSS 6.1 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md)
- **Published:** 13 Sept 2018
- **Updated:** 20 Nov 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 13 Sept 2018, 15:49 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `bootstrap` (npm): affected `>=4.0.0, <4.1.2`; fixed in `4.1.2`
- `typo3/cms-core` (Packagist): affected `>=8.0.0, <8.7.23 || >=9.0.0, <9.5.4`; fixed in `8.7.23`, `9.5.4`
- `typo3/cms` (Packagist): affected `>=8.0.0, <8.7.23 || >=9.0.0, <9.5.4`; fixed in `8.7.23`, `9.5.4`
- `bootstrap` (RubyGems): affected `>=4.0.0, <4.1.2`; fixed in `4.1.2`
- `twbs/bootstrap` (Packagist): affected `>=4.0.0, <4.1.2`; fixed in `4.1.2`
- `bootstrap` (NuGet): affected `>=4.0.0, <4.1.2`; fixed in `4.1.2`
- `bootstrap.sass` (NuGet): affected `>=4.0.0, <4.1.2`; fixed in `4.1.2`
- `org.webjars:bootstrap` (Maven): affected `>=4.0.0, <4.1.2`; fixed in `4.1.2`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.1 Medium, CVSS 3.0: `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.043, the 91st percentile, on 10 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 13 Sept 2018. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-pj7m-g53m-7638](https://github.com/advisories/GHSA-pj7m-g53m-7638)
- [OSV: GHSA-pj7m-g53m-7638](https://osv.dev/vulnerability/GHSA-pj7m-g53m-7638)
- <https://nvd.nist.gov/vuln/detail/CVE-2018-14041>
- <https://github.com/twbs/bootstrap/issues/26423>
- <https://github.com/twbs/bootstrap/issues/26627>
- <https://github.com/twbs/bootstrap/pull/26630>
- <https://www.oracle.com/security-alerts/cpuApr2021.html>
- <https://typo3.org/security/advisory/typo3-core-sa-2019-006>
- <https://seclists.org/bugtraq/2019/May/18>
- <https://lists.apache.org/thread.html/r3dc0cac8d856bca02bd6997355d7ff83027dcfc82f8646a29b89b714@%3Cissues.hbase.apache.org%3E>
- <https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3E>
- <https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3E>
- <https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e@%3Cdev.superset.apache.org%3E>
- <https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3E>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-pj7m-g53m-7638>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-pj7m-g53m-7638/>. Everything for agents: <https://agentprime.io/llms.txt>.
