MEDIUM
GHSA-vpqv-mqvc-pcx2
Reflective Cross-site Scripting Vulnerability in twitter-bootstrap-rails
Quick fix
GHSA-vpqv-mqvc-pcx2 — twitter-bootstrap-rails: upgrade to the fixed version with the command below.
bundle update twitter-bootstrap-railsDetails
The twitter-bootstrap-rails Gem for Rails 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
RubyGems/twitter-bootstrap-rails
Introduced in:
0Fixed in: 3.2.0Fix
bundle update twitter-bootstrap-rails