Cross-site scriptingin the bootstrap package.
Proof of concept public (GitHub).
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.
- Upgrade bootstrap (RubyGems) to 4.3.1 or later.
- Upgrade bootstrap-sass (RubyGems) to 3.4.1 or later.
- Upgrade Bootstrap.Less (NuGet) to 3.4.1 or later.
- Upgrade bootstrap (NuGet) to 3.4.1, 4.3.1 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 13 Feb 2019CVE ID reserved by mitre.
- 20 Feb 2019Published in the CVE List.
- 23 May 2022First public proof of concept on GitHub.
- 4 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
- www.securityfocus.com vdb-entry, x_refsource_BID
- seclists.org mailing-list, x_refsource_BUGTRAQ
- seclists.org mailing-list, x_refsource_FULLDISC
- seclists.org mailing-list, x_refsource_FULLDISC
- seclists.org mailing-list, x_refsource_FULLDISC
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- packetstormsecurity.com x_refsource_MISC
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- www.oracle.com x_refsource_MISC
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- blog.getbootstrap.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- support.f5.com x_refsource_CONFIRM
- support.f5.com x_refsource_CONFIRM
- www.tenable.com x_refsource_CONFIRM
Patchminder. CVE-2019-8331: Cross-site scripting in the bootstrap package. https://patchminder.com/cve/cve-2019-8331/ (accessed 5 December 2026).