Cross-site Scripting (XSS) Affecting twitter-bootstrap-rails package, versions < 3.2.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-TWITTERBOOTSTRAPRAILS-20153
  • published24 Mar 2014
  • disclosed24 Mar 2014
  • creditMike McCabe, John Poulin

Introduced: 24 Mar 2014

CVE-2014-4920  (opens in a new tab)
CWE-79  (opens in a new tab)

Overview

twitter-bootstrap-rails is a gem that integrates Bootstrap CSS toolkit for Rails.

Affected versions of this gem contain a Cross-site Scripting (XSS) vulnerability. This is due to a bootstrap_flash helper method that does not validate input before returning it to users. This may allow an attacker to inject and execute scripts in a user's browser.

Details

<>

CVSS Scores

version 3.1