XSS in Rubyonrails Rails
CVE-2011-4319
Cross-site scripting (XSS) vulnerability in the i18n translations helper method in Ruby on Rails 3.0.x before 3.0.11 and 3.1.x before 3.1.2, and the rails_xss plugin in Ruby on Rails 2.3.x, allows remote attackers to inject arbitrary web script or HTML via vectors related to a translations string whose name ends with an "html" substring.
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.016, 75.9th 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)
References
- osvdb.org/77199 (vdb-entry)
- [oss-security] 20111118 Re: CVE Request -- Ruby on Rails / rubygem-actionpack -- XSS in the 'translate' helper method (mailing-list)
- weblog.rubyonrails.org/2011/11/18/rails-3-0-11-has-been-released
- groups.google.com/group/rubyonrails-security/browse_thread/thread/2b61d70fb73c7…
- [rubyonrails-security] 20111118 XSS vulnerability in the translate helper method in Ruby on Rails (mailing-list)
- weblog.rubyonrails.org/2011/11/18/rails-3-1-2-has-been-released
- www.securitytracker.com/id (vdb-entry)
- rubyonrails-translatehelper-xss(71364) (vdb-entry)
- www.securityfocus.com/bid/50722 (vdb-entry)