{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2012-3465","id":"CVE-2012-3465","title":"actionpack Cross-site Scripting vulnerability","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.","descriptionLong":"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.","published":"2012-08-10T10:00:00.000Z","updated":"2026-04-10T03:44:18.574189Z","reserved":"2012-06-14T00:00:00.000Z","status":"PUBLISHED","rejected":false,"assigner":"redhat","metric":null,"metrics":[],"rating":"unrated","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=3.0.0.beta <3.0.17",">=3.1.0 <3.1.8",">=3.2.0 <3.2.8","<2.3.16"],"fixed":["3.0.17","3.1.8","3.2.8","2.3.16"],"advisory":"GHSA-7g65-ghrg-hpf5"}],"cwes":["CWE-79"],"aliases":["GHSA-7g65-ghrg-hpf5"],"references":[{"url":"http://weblog.rubyonrails.org/2012/8/9/ann-rails-3-2-8-has-been-released/","tags":["x_refsource_CONFIRM","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/50694","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0154.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"https://groups.google.com/group/rubyonrails-security/msg/7fbb5392d4d282b5?dmode=source&output=gplain","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3465","tags":["advisory"]},{"url":"https://github.com/rails/rails/commit/cf48c9c7dcbef8543171f7f7de8d3d9a16b58e77","tags":["web"]},{"url":"https://github.com/rails/rails/commit/e91e4e8bbee12ce1496bf384c04da6be296b687a","tags":["web"]},{"url":"https://github.com/rails/rails","tags":["package"]},{"url":"http://weblog.rubyonrails.org/2012/8/9/ann-rails-3-2-8-has-been-released","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01994,"epssPercentile":0.81181,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2012-3465","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3465","ok":false,"note":"unavailable (rate limited?)"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2012-3465","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7g65-ghrg-hpf5","ok":true,"note":"GHSA-7g65-ghrg-hpf5"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2012-3465","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}