XSS in Rubyonrails Rails
CVE-2012-1099
Cross-site scripting (XSS) vulnerability in actionpack/lib/action_view/helpers/form_options_helper.rb in the select helper in Ruby on Rails 3.0.x before 3.0.12, 3.1.x before 3.1.4, and 3.2.x before 3.2.2 allows remote attackers to inject arbitrary web script or HTML via vectors involving certain generation of OPTION elements within SELECT elements.
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.024, 84.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rubyonrails Rails — versions 3.0.0, 3.0.1, 3.0.2
- Rubyonrails Ruby On Rails — versions 3.0.4
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (tdunning/github-advisory-parser). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- FEDORA-2012-3321 (vendor-advisory)
- [oss-security] 20120302 Re: CVE Request -- Ruby on Rails (v3.0.12) / rubygem-actionpack: Two XSS flaws (mailing-list)
- FEDORA-2012-3355 (vendor-advisory)
- bugzilla.redhat.com/show_bug.cgi
- DSA-2466 (vendor-advisory)
- [oss-security] 20120302 CVE Request -- Ruby on Rails (v3.0.12) / rubygem-actionpack: Two XSS flaws (mailing-list)
- [rubyonrails-security] 20120301 XSS Vulnerability in the select helper (mailing-list)
- weblog.rubyonrails.org/2012/3/1/ann-rails-3-0-12-has-been-released