{"id":"GHSA-vpqv-mqvc-pcx2","summary":"Reflective Cross-site Scripting Vulnerability in twitter-bootstrap-rails","details":"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","aliases":["CVE-2014-4920"],"modified":"2024-11-30T05:34:35.938132Z","published":"2023-03-16T18:35:11Z","database_specific":{"github_reviewed_at":"2023-03-16T18:35:11Z","nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/twitter-bootstrap-rails/CVE-2014-4920.yml"},{"type":"WEB","url":"https://nvisium.com/blog/2014/03/28/reflected-xss-vulnerability-in-twitter"}],"affected":[{"package":{"name":"twitter-bootstrap-rails","ecosystem":"RubyGems","purl":"pkg:gem/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-vpqv-mqvc-pcx2/GHSA-vpqv-mqvc-pcx2.json"}}],"schema_version":"1.9.0"}