Description
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.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | actionpack | >= 3.0.0, < 3.0.11 | 3.0.11 | GHSA-xxr8-833v-c7wc |
| RubyGems | actionpack | >= 3.1.0, < 3.1.2 | 3.1.2 | GHSA-xxr8-833v-c7wc |
References
- 77199 vdb-entry
- [oss-security] 20111118 Re: CVE Request -- Ruby on Rails / rubygem-actionpack -- XSS in the 'translate' helper method mailing-list
- http://weblog.rubyonrails.org/2011/11/18/rails-3-0-11-has-been-released
- http://groups.google.com/group/rubyonrails-security/browse_thread/thread/2b61d70fb73c7cc5?pli=1
- [rubyonrails-security] 20111118 XSS vulnerability in the translate helper method in Ruby on Rails mailing-list
- http://weblog.rubyonrails.org/2011/11/18/rails-3-1-2-has-been-released
- 1026342 vdb-entry
- rubyonrails-translatehelper-xss(71364) vdb-entry
- 50722 vdb-entry