XSS in Rubyonrails Rails
CVE-2012-3465
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.020, 81.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rubyonrails Rails — versions 0.9.1, 0.9.2, 0.9.3
- Rubyonrails Ruby On Rails — versions 0.5.0, 0.5.5, 0.5.6
Weakness classification (CWE)
References
- weblog.rubyonrails.org/2012/8/9/ann-rails-3-2-8-has-been-released/ (Vendor Advisory)
- secunia.com/advisories/50694 (third-party-advisory)
- RHSA-2013:0154 (vendor-advisory)
- [rubyonrails-security] 20120810 XSS Vulnerability in strip_tags (mailing-list)