{"id":"CVE-2009-3009","aliases":["CVE-2009-3009","GHSA-8qrh-h9m2-5fvf"],"related":[],"kind":"vulnerability","state":"published","title":"Cross site scripting that affects rails","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Vulnerabilidad de ejecución secuencias de comandos en sitios cruzados (XSS) en Roby en Rails v2.x anterior 2.2.3, y v2.3.x anterior v2.3.4, permite a atacantes remotos inyectar código web o HTML a su elección colocando cadenas malformadas Unicode en un formulario de ayuda.","source":"nvd"}],"published":"2009-09-08T18:00:00.000Z","modified":"2026-06-16T23:10:42.977Z","severity":{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.2.3"}],"ecosystem":"RubyGems","package":"actionpack","purl":"pkg:gem/actionpack","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.3.0","status":"affected","fixed":"2.3.4"}],"ecosystem":"RubyGems","package":"actionpack","purl":"pkg:gem/actionpack","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.2.3"}],"ecosystem":"RubyGems","package":"activesupport","purl":"pkg:gem/activesupport","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.3.0","status":"affected","fixed":"2.3.4"}],"ecosystem":"RubyGems","package":"activesupport","purl":"pkg:gem/activesupport","source":"ghsa"},{"ranges":[{"status":"affected","version":"2.0.0"},{"status":"affected","version":"2.0.0"},{"status":"affected","version":"2.0.0"},{"status":"affected","version":"2.0.1"},{"status":"affected","version":"2.0.2"},{"status":"affected","version":"2.0.4"},{"status":"affected","version":"2.1.0"},{"status":"affected","version":"2.1.1"},{"status":"affected","version":"2.1.2"},{"status":"affected","version":"2.2.0"},{"status":"affected","version":"2.2.1"},{"status":"affected","version":"2.2.2"},{"status":"affected","version":"2.3.2"},{"status":"affected","version":"2.3.3"}],"vendor":"rubyonrails","product":"rails","cpe":"cpe:2.3:a:rubyonrails:rails:2.0.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"http://www.securityfocus.com/bid/36278","tags":["vdb-entry","web","x-refsource-bid","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://weblog.rubyonrails.org/2009/9/4/xss-vulnerability-in-ruby-on-rails","tags":["web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://secunia.com/advisories/36600","tags":["third-party-advisory","vendor-advisory","web","x-refsource-secunia","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html","tags":["vendor-advisory","web","x-refsource-apple","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.vupen.com/english/advisories/2009/2544","tags":["patch","vdb-entry","vendor-advisory","web","x-refsource-vupen","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/53036","tags":["vdb-entry","web","x-refsource-xf","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://support.apple.com/kb/HT4077","tags":["web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.debian.org/security/2009/dsa-1887","tags":["vendor-advisory","web","x-refsource-debian","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://groups.google.com/group/rubyonrails-security/msg/7f57cd7794e1d1b4?dmode=source","tags":["mailing-list","patch","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545063","tags":["web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.osvdb.org/57666","tags":["vdb-entry","web","x-refsource-osvdb","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://securitytracker.com/id?1022824","tags":["patch","vdb-entry","web","x-refsource-sectrack","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://secunia.com/advisories/36717","tags":["third-party-advisory","vendor-advisory","web","x-refsource-secunia","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2009-10/msg00004.html","tags":["vendor-advisory","web","x-refsource-suse","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2009-3009","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-8qrh-h9m2-5fvf","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2009-3009.yml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2009-3009","url":"https://www.cve.org/CVERecord?id=CVE-2009-3009","licence":"CVE Terms of Use","modified":"2024-08-07T06:14:55.295Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8qrh-h9m2-5fvf","url":"https://github.com/advisories/GHSA-8qrh-h9m2-5fvf","licence":"CC-BY-4.0","modified":"2025-04-09T20:37:04.207Z"},{"source":"nvd","name":"NVD","id":"CVE-2009-3009","url":"https://nvd.nist.gov/vuln/detail/CVE-2009-3009","licence":"Public domain","modified":"2026-06-16T23:10:42.977Z"}],"updatedAt":"2026-11-25T22:57:06.249Z","epss":{"score":0.03022,"percentile":0.87813,"date":"2026-12-01T12:00:22.000Z"}}