{"id":"CVE-2014-4920","aliases":["GHSA-vpqv-mqvc-pcx2"],"status":"published","title":"Reflective Cross-site Scripting Vulnerability in twitter-bootstrap-rails","description":"The twitter-bootstrap-rails Gem for Rails contains a flaw that enables a\nreflected cross-site scripting (XSS) attack. This flaw exists because the\nbootstrap_flash helper method does not validate input when handling flash\nmessages before returning it to users. This may allow a context-dependent\nattacker to create a specially crafted request that would execute arbitrary\nscript code in a user's browser session within the trust relationship between\ntheir browser and the server.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2023-03-16T18:35:11Z","modified":"2024-11-30T05:34:35Z","fixes":[{"ecosystem":"RubyGems","package":"twitter-bootstrap-rails","fixed_in":["3.2.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"twitter-bootstrap-rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.0"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"twitter-bootstrap-rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.0"}]}],"versions":["0.0.3","0.0.4","0.0.5","1.3.0","1.3.1","1.4.0","1.4.1","1.4.2","1.4.3","2.0","2.0.0","2.0.1","2.0.1.0","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","2.0rc0","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.1.7","2.1.8","2.1.9","2.2.0","2.2.1","2.2.3","2.2.4","2.2.5","2.2.6","2.2.7","2.2.8"]}],"references":[{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/twitter-bootstrap-rails/CVE-2014-4920.yml","tags":["web"]},{"url":"https://nvisium.com/blog/2014/03/28/reflected-xss-vulnerability-in-twitter","tags":["web"]},{"url":"https://github.com/advisories/GHSA-vpqv-mqvc-pcx2"}],"sources":{"ghsa":[{"id":"GHSA-vpqv-mqvc-pcx2","title":"Reflective Cross-site Scripting Vulnerability in twitter-bootstrap-rails","description":"The twitter-bootstrap-rails Gem for Rails contains a flaw that enables a\nreflected cross-site scripting (XSS) attack. This flaw exists because the\nbootstrap_flash helper method does not validate input when handling flash\nmessages before returning it to users. This may allow a context-dependent\nattacker to create a specially crafted request that would execute arbitrary\nscript code in a user's browser session within the trust relationship between\ntheir browser and the server.\n","status":"published","published":"2023-03-16T18:35:11Z","modified":"2023-03-16T18:36:09Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:48.041653Z"}],"osv":[{"id":"GHSA-vpqv-mqvc-pcx2","title":"Reflective Cross-site Scripting Vulnerability in twitter-bootstrap-rails","description":"The twitter-bootstrap-rails Gem for Rails contains a flaw that enables a\nreflected cross-site scripting (XSS) attack. This flaw exists because the\nbootstrap_flash helper method does not validate input when handling flash\nmessages before returning it to users. This may allow a context-dependent\nattacker to create a specially crafted request that would execute arbitrary\nscript code in a user's browser session within the trust relationship between\ntheir browser and the server.\n","status":"published","published":"2023-03-16T18:35:11Z","modified":"2024-11-30T05:34:35.938132Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:57.694388Z"}]}}
