{"cve":"CVE-2012-3465","nvd":{"published":"2012-08-10T10:34:47.937","modified":"2026-06-16T23:43:16.803","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-79"],"references":["http://rhn.redhat.com/errata/RHSA-2013-0154.html","http://secunia.com/advisories/50694","http://weblog.rubyonrails.org/2012/8/9/ann-rails-3-2-8-has-been-released/","https://groups.google.com/group/rubyonrails-security/msg/7fbb5392d4d282b5?dmode=source&output=gplain","http://rhn.redhat.com/errata/RHSA-2013-0154.html"],"products":["rubyonrails:rails","rubyonrails:ruby_on_rails"],"source":"nvd","synced_at":"2026-10-19T20:24:00.973572543+00:00"},"epss":{"cve":"CVE-2012-3465","score":0.01994,"percentile":0.80692,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-7g65-ghrg-hpf5","url":"https://osv.dev/vulnerability/GHSA-7g65-ghrg-hpf5","summary":"actionpack Cross-site Scripting vulnerability","modified":"2025-01-21T15:43:48.076493Z","packages":[{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=3.0.0.beta <3.0.17"],"fixed":["3.0.17"]},{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=3.1.0 <3.1.8"],"fixed":["3.1.8"]},{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=3.2.0 <3.2.8"],"fixed":["3.2.8"]},{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":["<2.3.16"],"fixed":["2.3.16"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}