GitHub Advisoryadvisory · RubyGems
GHSA-vpqv-mqvc-pcx2 Reflective Cross-site Scripting Vulnerability in twitter-bootstrap-rails
MEDIUM
Official page ↗
- Aliases
- CVE-2014-4920
- Ecosystem
- RubyGems
- Packages
- twitter-bootstrap-rails
- Severity
- Moderate
- Weaknesses
- CWE-79
- Reviewed
- 2023-03-16
Affected packages
• RubyGems twitter-bootstrap-rails: < 3.2.0 → fixed in 3.2.0
Description
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.
Related
Alias · not in database (1)
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness