Back
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…
Medium4.3EPSS 1.6%
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
- EPSS (exploitation in 30 days)
- 1.6% · top 25% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.3.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemsactionpackGHSA-xxr8-833v-c7wc (opens in a new tab)
References (9)
- 77199 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- [oss-security] 20111118 Re: CVE Request -- Ruby on Rails / rubygem-actionpack -- XSS in the 'translate' helper method (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://weblog.rubyonrails.org/2011/11/18/rails-3-0-11-has-been-released (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://groups.google.com/group/rubyonrails-security/browse_thread/thread/2b61d70fb73c7cc5?pli=1 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [rubyonrails-security] 20111118 XSS vulnerability in the translate helper method in Ruby on Rails (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://weblog.rubyonrails.org/2011/11/18/rails-3-1-2-has-been-released (opens in a new tab)x_refsource_CONFIRMx_transferred
- 1026342 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- rubyonrails-translatehelper-xss(71364) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 50722 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-xxr8-833v-c7wc (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .