Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. twitter-bootstrap-rails
  4. ›
  5. CVE-2014-4920

CVE-2014-4920: Reflective XSS Vulnerability

March 25, 2014

The gem contains a flaw that enables a reflected cross-site scripting (XSS) attack. This flaw exists because the bootstrap_flash helper method does not validate input when handling flash messages before returning it to users. This may allow a context-dependent attacker to create a specially crafted request that would execute arbitrary script code in a user’s browser session within the trust relationship between their browser and the server.

References

  • nvisium.com/blog/2014/03/28/reflected-xss-vulnerability-in-twitter/

Code Behaviors & Features

Detect and mitigate CVE-2014-4920 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.2.0

Fixed versions

  • 3.2.0

Solution

Upgrade to version 3.2.0 or above.

Source file

gem/twitter-bootstrap-rails/CVE-2014-4920.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:05 +0000.