KeygraphLabs · CVE MCP

CVE-2019-8331 · mitre

CVE-2019-8331

In Bootstrap before 3.4.1 and 4.3.x before 4.3.1, XSS is possible in the tooltip or popover data-template attribute.

Published 2019-02-20, last changed 2026-06-17. Weakness: CWE-79.

CVSS
6.1
medium, from NVD
EPSS
16.4%
percentile 97.1%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: bootstrap 4.3.1 (RubyGems); bootstrap-sass 3.4.1 (RubyGems); Bootstrap.Less 3.4.1 (NuGet); bootstrap 3.4.1, 4.3.1 (NuGet); bootstrap.sass 4.3.1 (NuGet); bootstrap 3.4.1, 4.3.1 (npm) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in twbs/bootstrap by pull request #28236. Functions changed by the fix: allowedAttribute, sanitizeHtml, setElementContent, _getConfig. Regression tests: js/tests/unit/tooltip.js. Confidence: verified (a record names this commit as the fix, and it changed these functions).

Timeline

2019-02-20Published
2019-02-22Package advisory GHSA-9v3m-8fp8-mj99
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 16.4%
2026-12-02Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-9v3m-8fp8-mj99bootstrap (RubyGems)4.3.1
GHSA-9v3m-8fp8-mj99bootstrap-sass (RubyGems)3.4.1
GHSA-9v3m-8fp8-mj99Bootstrap.Less (NuGet)3.4.1
GHSA-9v3m-8fp8-mj99bootstrap (NuGet)4.3.1
GHSA-9v3m-8fp8-mj99bootstrap (NuGet)3.4.1

Also known as: GHSA-9v3m-8fp8-mj99

Related

CVEPublishedCVSSSummary
CVE-2018-206772019-01-096.1same package: bootstrap (RubyGems)
CVE-2018-206762019-01-096.1same package: bootstrap (RubyGems)
CVE-2016-107352019-01-096.1same package: bootstrap (RubyGems)
CVE-2018-140422018-07-136.1same package: bootstrap (RubyGems)
CVE-2018-140412018-07-136.1same package: bootstrap (RubyGems)
CVE-2018-140402018-07-136.1same package: bootstrap (RubyGems)
CVE-2019-108422019-04-049.8same package: bootstrap-sass (RubyGems)
CVE-2026-1377132026-11-276.4same weakness (CWE-79) from the same CNA (mitre)

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2019-8331, or call /api/v1/vulnerabilities/CVE-2019-8331. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org