{"id":"CVE-2011-2932","published":"2011-08-29T18:00:00Z","modified":"2024-08-06T23:15:31Z","title":"Cross-site scripting (XSS) vulnerability in activesupport/lib/active_support/core_ext/string/output_safety.rb in Ruby…","vendor":null,"product":null,"tier":"tail","description":{"text":"Cross-site scripting (XSS) vulnerability in activesupport/lib/active_support/core_ext/string/output_safety.rb in Ruby on Rails 2.x before 2.3.13, 3.0.x before 3.0.10, and 3.1.x before 3.1.0.rc5 allows remote attackers to inject arbitrary web script or HTML via a malformed Unicode string, related to a \"UTF-8 escaping vulnerability.\"","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02492,"percentile":0.85046,"provenance":"source"},"cwes":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=731435","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/45917","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/17/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065114.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/22/13","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065189.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065212.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/19/11","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/20/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/22/14","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://github.com/rails/rails/commit/bfc432574d0b141fd7fe759edfe9b6771dd306bd","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2011/08/22/5","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://groups.google.com/group/rubyonrails-security/msg/f1d2749773db9f21?dmode=source&output=gplain","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://weblog.rubyonrails.org/2011/8/16/ann-rails-3-1-0-rc6","tags":["x_refsource_CONFIRM"]}],"priority":{"score":17.0,"factors":[{"name":"EPSS percentile","points":17.01}]},"affected":[{"ecosystem":"RubyGems","package":"activesupport","vulnerableRanges":[">=2.0.0, <2.3.13",">=3.0.0, <3.0.10"],"patched":["2.3.13","3.0.10"],"from":["GHSA-9fh3-vh3h-q4g3"],"provenance":"source"}],"summary":{"text":"A cross-site scripting flaw in the activesupport component of Ruby on Rails, specifically in its string output-safety code (output_safety.rb), affects Rails 2.x before 2.3.13, 3.0.x before 3.0.10, and 3.1.x before 3.1.0.rc5. A remote attacker can inject arbitrary web script or HTML by supplying a malformed Unicode string, which relates to a UTF-8 escaping issue.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:54Z"},"euvd":{"id":"EUVD-2017-0203","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-activesupport-cve-2011-2932","children":[{"from":"CVE-2011-2932","to":"CVE-2012-3464","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:activesupport","fromFixed":"2.3.13","toFixed":"2.3.16","daysApart":347},{"kind":"same-code","provenance":"machine","files":["activesupport/lib/active_support/core_ext/string/output_safety.rb"],"commits":["https://github.com/rails/rails/commit/bfc432574d0b141fd7fe759edfe9b6771dd306bd","https://github.com/rails/rails/commit/28f2c6f4037081da0a82104a3f473165ed4ed2ce","https://github.com/rails/rails/commit/780a718723cf87b49cfe204d355948c4e0932d23"],"basis":"shared function","functions":["html_escape"]},{"kind":"similar","provenance":"machine","score":0.8,"basis":"same package + description similarity"}]}],"packageHistory":[{"cve":"CVE-2009-3009","published":"2009-09-08","fixed":"2.3.4","kev":false},{"cve":"CVE-2009-3086","published":"2009-09-08","fixed":"2.3.4","kev":false},{"cve":"CVE-2011-2197","published":"2011-06-30","fixed":"3.0.8","kev":false,"link":{"from":"CVE-2011-2197","to":"CVE-2011-2932","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:activesupport","fromFixed":"3.0.8","toFixed":"3.0.10","daysApart":60},{"kind":"version-step","provenance":"source","package":"RubyGems:activesupport","fromFixed":"2.3.12","toFixed":"2.3.13","daysApart":60},{"kind":"same-code","provenance":"machine","files":["activesupport/lib/active_support/core_ext/string/output_safety.rb"],"commits":["https://github.com/rails/rails/commit/53a2c0baf2b128dd4808eca313256f6f4bb8c4cd","https://github.com/rails/rails/commit/ed3796434af6069ced6a641293cf88eef3b284da","https://github.com/rails/rails/commit/bfc432574d0b141fd7fe759edfe9b6771dd306bd"],"basis":"shared file"}]}},{"cve":"CVE-2011-2932","published":"2011-08-29","fixed":"3.0.10","kev":false},{"cve":"CVE-2013-0333","published":"2013-01-30","fixed":"3.0.20","kev":false,"link":{"from":"CVE-2011-2932","to":"CVE-2013-0333","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:activesupport","fromFixed":"2.3.13","toFixed":"2.3.16","daysApart":520}]}},{"cve":"CVE-2012-1098","published":"2012-03-13","fixed":"3.2.2","kev":false,"link":{"from":"CVE-2011-2932","to":"CVE-2012-1098","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:activesupport","fromFixed":"3.0.10","toFixed":"3.0.12","daysApart":197}]}},{"cve":"CVE-2012-3464","published":"2012-08-10","fixed":"3.2.8","kev":false}],"package":"RubyGems:activesupport"}}