{"id":"CVE-2009-3009","aliases":["DEBIAN-CVE-2009-3009","DSA-1887-1","EUVD-2017-0194","GHSA-8qrh-h9m2-5fvf"],"status":"published","title":"Cross site scripting that affects rails","description":"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.","severity":{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.03022,"percentile":0.87551,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2009-09-08T18:00:00Z","modified":"2026-10-23T17:47:47Z","fixes":[{"ecosystem":"RubyGems","package":"actionpack","fixed_in":["2.2.3","2.3.4"],"sources":["ghsa","osv"]},{"ecosystem":"RubyGems","package":"activesupport","fixed_in":["2.2.3","2.3.4"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"rails","fixed_in":["2.2.3-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"rails","fixed_in":["2.2.3-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"rails","fixed_in":["2.2.3-1"],"sources":["osv"]},{"ecosystem":"Debian:5.0","package":"rails","fixed_in":["2.1.0-7"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"actionpack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.2.3"}]}]},{"source":"ghsa","ecosystem":"RubyGems","package":"actionpack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"2.3.4"}]}]},{"source":"ghsa","ecosystem":"RubyGems","package":"activesupport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.2.3"}]}]},{"source":"ghsa","ecosystem":"RubyGems","package":"activesupport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"2.3.4"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.3-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.3-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.3-1"}]}]},{"source":"osv","ecosystem":"Debian:5.0","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-7"}]}],"versions":["2.1.0-6"]},{"source":"osv","ecosystem":"RubyGems","package":"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"]},{"source":"osv","ecosystem":"RubyGems","package":"actionpack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"2.3.4"}]}],"versions":["2.3.2","2.3.3"]},{"source":"osv","ecosystem":"RubyGems","package":"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"]},{"source":"osv","ecosystem":"RubyGems","package":"activesupport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"2.3.4"}]}],"versions":["2.3.2","2.3.3"]}],"products":[{"vendor":"rubyonrails","product":"rails"}],"references":[{"url":"http://www.securityfocus.com/bid/36278","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://weblog.rubyonrails.org/2009/9/4/xss-vulnerability-in-ruby-on-rails","tags":["x_refsource_CONFIRM","x_transferred","article","web"]},{"url":"http://secunia.com/advisories/36600","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred","web"]},{"url":"http://www.vupen.com/english/advisories/2009/2544","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Patch","Vendor Advisory","advisory","fix","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/53036","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://support.apple.com/kb/HT4077","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.debian.org/security/2009/dsa-1887","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory","web"]},{"url":"http://groups.google.com/group/rubyonrails-security/msg/7f57cd7794e1d1b4?dmode=source","tags":["mailing-list","x_refsource_MLIST","x_transferred","Patch","fix","web"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545063","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.osvdb.org/57666","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"http://securitytracker.com/id?1022824","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","Patch","fix","web"]},{"url":"http://secunia.com/advisories/36717","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2009-10/msg00004.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2009-3009","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-8qrh-h9m2-5fvf","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2009-3009.yml","tags":["web"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2009-3009","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2009-3009","description":"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.","status":"published","published":"2009-09-08T18:00:00Z","modified":"2024-08-07T06:14:55.295Z","updated_at":"2026-11-02T14:33:24.10565Z"}],"euvd":[{"id":"EUVD-2017-0194","description":"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.","status":"published","published":"2009-09-08T18:00:00Z","modified":"2024-08-07T06:14:55Z","updated_at":"2026-11-03T01:39:15.098818Z"}],"ghsa":[{"id":"GHSA-8qrh-h9m2-5fvf","title":"Cross site scripting that affects rails","description":"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.","status":"published","published":"2017-10-24T18:33:38Z","modified":"2023-11-07T05:06:08Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:15.931647Z"}],"nvd":[{"id":"CVE-2009-3009","description":"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.","status":"published","published":"2009-09-08T18:30:00.327Z","modified":"2026-06-16T23:10:42.977Z","cvss":[{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:01:36.596719Z"}],"osv":[{"id":"CVE-2009-3009","description":"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.","status":"published","published":"2009-09-08T18:30:00Z","modified":"2026-04-10T03:40:52.629215Z","updated_at":"2026-11-02T15:43:57.714116Z"},{"id":"DEBIAN-CVE-2009-3009","description":"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.","status":"published","published":"2009-09-08T18:30:00.327Z","modified":"2026-10-23T17:47:47.544472954Z","updated_at":"2026-11-02T15:45:24.013654Z"},{"id":"DSA-1887-1","title":"rails - cross-site scripting","status":"published","published":"2009-09-15T00:00:00Z","modified":"2026-03-09T01:22:46.330074Z","updated_at":"2026-11-02T15:46:14.734124Z"},{"id":"GHSA-8qrh-h9m2-5fvf","title":"Cross site scripting that affects rails","description":"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.","status":"published","published":"2017-10-24T18:33:38Z","modified":"2025-04-09T20:37:04.207075Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:42.78452Z"}]}}
