{"id":"GHSA-8qrh-h9m2-5fvf","summary":"Cross site scripting that affects rails","details":"Cross-site scripting (XSS) vulnerability in Ruby on Rails 2.x before 2.2.3, and 2.3.x before 2.3.4, allows remote attackers to inject arbitrary web script or HTML by placing malformed Unicode strings into a form helper.","aliases":["CVE-2009-3009"],"modified":"2025-04-09T20:03:31.175806Z","published":"2017-10-24T18:33:38Z","database_specific":{"nvd_published_at":"2009-09-08T18:30:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:26:29Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2009-3009"},{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/53036"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8qrh-h9m2-5fvf"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2009-3009.yml"},{"type":"WEB","url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545063"},{"type":"WEB","url":"http://groups.google.com/group/rubyonrails-security/msg/7f57cd7794e1d1b4?dmode=source"},{"type":"WEB","url":"http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2009-10/msg00004.html"},{"type":"WEB","url":"http://secunia.com/advisories/36600"},{"type":"WEB","url":"http://secunia.com/advisories/36717"},{"type":"WEB","url":"http://securitytracker.com/id?1022824"},{"type":"WEB","url":"http://support.apple.com/kb/HT4077"},{"type":"WEB","url":"http://weblog.rubyonrails.org/2009/9/4/xss-vulnerability-in-ruby-on-rails"},{"type":"WEB","url":"http://www.debian.org/security/2009/dsa-1887"},{"type":"WEB","url":"http://www.osvdb.org/57666"},{"type":"WEB","url":"http://www.securityfocus.com/bid/36278"},{"type":"WEB","url":"http://www.vupen.com/english/advisories/2009/2544"}],"affected":[{"package":{"name":"actionpack","ecosystem":"RubyGems","purl":"pkg:gem/actionpack"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.2.3"}]}],"versions":["2.0.0","2.0.1","2.0.2","2.0.4","2.0.5","2.1.0","2.1.1","2.1.2","2.2.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-8qrh-h9m2-5fvf/GHSA-8qrh-h9m2-5fvf.json"}},{"package":{"name":"actionpack","ecosystem":"RubyGems","purl":"pkg:gem/actionpack"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"2.3.4"}]}],"versions":["2.3.2","2.3.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-8qrh-h9m2-5fvf/GHSA-8qrh-h9m2-5fvf.json"}},{"package":{"name":"activesupport","ecosystem":"RubyGems","purl":"pkg:gem/activesupport"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.2.3"}]}],"versions":["2.0.0","2.0.1","2.0.2","2.0.4","2.0.5","2.1.0","2.1.1","2.1.2","2.2.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-8qrh-h9m2-5fvf/GHSA-8qrh-h9m2-5fvf.json"}},{"package":{"name":"activesupport","ecosystem":"RubyGems","purl":"pkg:gem/activesupport"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"2.3.4"}]}],"versions":["2.3.2","2.3.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-8qrh-h9m2-5fvf/GHSA-8qrh-h9m2-5fvf.json"}}],"schema_version":"1.9.0"}