Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CVE-2019-8331 for twitter-bootstrap-rails #720

Merged
merged 2 commits into from
Nov 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions gems/twitter-bootstrap-rails/CVE-2019-8331.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
gem: twitter-bootstrap-rails
cve: 2019-8331
ghsa: 9v3m-8fp8-mj99
url: https://blog.getbootstrap.com/2019/02/13/bootstrap-4-3-1-and-3-4-1/
title: twitter-bootstrap-rails vulnerable to Cross-Site Scripting (XSS)
date: 2019-02-15
description: |
The seyhunak/twitter-bootstrap-rails gem includes a vendored version of
the Bootstrap JavaScript library.

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.

The most recent version of this gem, 5.0.0, includes Bootstrap v 3.3.6.
All versions of Bootstrap before v 3.4.1 are affected by this vulnerability.
All versions of this gem are affected.

# Workarounds
Until this gem is updated to use Bootstrap v3.4.1, users can replace it
with the official Twitter-maintained gems, `bootstrap-sass` (version 3.4.1)
or `bootstrap` (bootstrap 4 and 5).

cvss_v2: 4.3
cvss_v3: 6.1
related:
url:
- https://github.com/twbs/bootstrap-sass/releases/tag/v3.4.1