{"id":"CVE-2012-3464","published":"2012-08-10T10:00:00Z","modified":"2024-08-06T20:05:12Z","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 before 3.0.17, 3.1.x before 3.1.8, and 3.2.x before 3.2.8 might allow remote attackers to inject arbitrary web script or HTML via vectors involving a ' (quote) character.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02568,"percentile":0.85525,"provenance":"source"},"cwes":[],"references":[{"url":"http://weblog.rubyonrails.org/2012/8/9/ann-rails-3-2-8-has-been-released/","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/50694","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0154.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://groups.google.com/group/rubyonrails-security/msg/8f1bbe1cef8c6caf?dmode=source&output=gplain","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":17.1,"factors":[{"name":"EPSS percentile","points":17.11}]},"affected":[{"ecosystem":"RubyGems","package":"activesupport","vulnerableRanges":[">=3.0.0.beta, <3.0.17",">=3.1.0, <3.1.8",">=3.2.0, <3.2.8","<2.3.16"],"patched":["3.0.17","3.1.8","3.2.8","2.3.16"],"from":["GHSA-h835-75hw-pj89"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting (XSS) vulnerability in the output_safety.rb file of the activesupport component of Ruby on Rails, affecting versions before 3.0.17, 3.1.x before 3.1.8, and 3.2.x before 3.2.8. A remote attacker may be able to inject arbitrary web script or HTML through input containing a quote character.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:19Z"},"euvd":{"id":"EUVD-2017-0249","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-activesupport-cve-2011-2932","parents":[{"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-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-2012-3464","to":"CVE-2013-0333","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:activesupport","fromFixed":"3.0.17","toFixed":"3.0.20","daysApart":173}]}},{"cve":"CVE-2012-1098","published":"2012-03-13","fixed":"3.2.2","kev":false,"link":{"from":"CVE-2012-1098","to":"CVE-2012-3464","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:activesupport","fromFixed":"3.0.12","toFixed":"3.0.17","daysApart":150}]}},{"cve":"CVE-2012-3464","published":"2012-08-10","fixed":"3.2.8","kev":false},{"cve":"CVE-2013-1856","published":"2013-03-19","fixed":"3.2.13","kev":false,"link":{"from":"CVE-2012-3464","to":"CVE-2013-1856","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:activesupport","fromFixed":"3.1.8","toFixed":"3.1.12","daysApart":221}]}},{"cve":"CVE-2015-3226","published":"2015-07-26","fixed":"4.2.2","kev":false},{"cve":"CVE-2015-3227","published":"2015-07-26","fixed":"4.2.2","kev":false}],"package":"RubyGems:activesupport"}}