What’s Vulnerable › Vulnerabilities
CVE-2012-3465
- Severity: medium (CVSS 4.3 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2012-08-10 · updated 2026-06-16
- Weakness: CWE-79
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.
Affected products
- Ruby on Rails: 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.4.1, 0.10.0 (+124)
- rubyonrails Ruby On Rails: through 3.0.16; 0.5.0, 0.5.5, 0.5.6, 0.5.7, 0.6.0, 0.6.5 (+5)
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
- 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
Get alerted when CVE-2012-3465 or the next vulnerability affects your stack