{"id":"CVE-2012-3465","published":"2012-08-10T10:00:00Z","modified":"2024-08-06T20:05:12Z","title":"Cross-site scripting (XSS) vulnerability in actionpack/lib/action_view/helpers/sanitize_helper.rb in the strip_tags…","vendor":null,"product":null,"tier":"tail","description":{"text":"Cross-site scripting (XSS) vulnerability in actionpack/lib/action_view/helpers/sanitize_helper.rb in the strip_tags helper in Ruby on Rails before 3.0.17, 3.1.x before 3.1.8, and 3.2.x before 3.2.8 allows remote attackers to inject arbitrary web script or HTML via malformed HTML markup.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01994,"percentile":0.81181,"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/7fbb5392d4d282b5?dmode=source&output=gplain","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":16.2,"factors":[{"name":"EPSS percentile","points":16.24}]},"affected":[{"ecosystem":"RubyGems","package":"actionpack","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-7g65-ghrg-hpf5"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting (XSS) vulnerability in the strip_tags helper within actionpack's sanitize_helper.rb file, affecting Ruby on Rails versions before 3.0.17, 3.1.x before 3.1.8, and 3.2.x before 3.2.8. An attacker can inject arbitrary web script or HTML by supplying malformed HTML markup to the affected helper.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:36:37Z"},"euvd":{"id":"EUVD-2017-0188","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2012-2694","published":"2012-06-22","fixed":"3.2.6","kev":false},{"cve":"CVE-2012-3424","published":"2012-08-08","fixed":"3.2.7","kev":false,"link":{"from":"CVE-2012-3424","to":"CVE-2012-3465","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:actionpack","fromFixed":"3.0.16","toFixed":"3.0.17","daysApart":2}]}},{"cve":"CVE-2012-3463","published":"2012-08-10","fixed":"3.2.8","kev":false},{"cve":"CVE-2012-3465","published":"2012-08-10","fixed":"3.2.8","kev":false},{"cve":"CVE-2013-0156","published":"2013-01-13","fixed":"3.2.11","kev":false},{"cve":"CVE-2013-1855","published":"2013-03-19","fixed":"3.2.13","kev":false,"link":{"from":"CVE-2012-3465","to":"CVE-2013-1855","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:actionpack","fromFixed":"2.3.16","toFixed":"2.3.18","daysApart":221}]}},{"cve":"CVE-2013-1857","published":"2013-03-19","fixed":"3.2.13","kev":false,"link":{"from":"CVE-2012-3465","to":"CVE-2013-1857","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:actionpack","fromFixed":"2.3.16","toFixed":"2.3.18","daysApart":221}]}}],"package":"RubyGems:actionpack"}}