CVE-2011-4319
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
1.578%
chance of exploitation in the next 30 days
higher than 75.9% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation
Timeline
- 2011-11-28Published by the CNA11:00 UTC
- 2017-10-24GitHub advisory published (GHSA-xxr8-833v-c7wc)2157 days after publication
Exploit and advisory records
GitHub advisory GHSA-xxr8-833v-c7wc, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| RubyGems actionpack | from 3.0.0 before 3.0.11 | 3.0.11 |
| RubyGems actionpack | from 3.1.0 before 3.1.2 | 3.1.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| rubyonrails rails | 2.3.10no fix listed2.3.11no fix listed2.3.12no fix listed2.3.2no fix listed2.3.3no fix listed(+15 more) | not listednot listednot listednot listednot listed |
| rubyonrails ruby_on_rails | 3.0.4no fix listed | not listed |
References
- http://groups.google.com/group/rubyonrails-security/browse_thread/thread/2b61d70fb73c7cc5?pli=1
- http://groups.google.com/group/rubyonrails-security/msg/c65c24fbc4b6dd82?dmode=source&output=gplain
- http://openwall.com/lists/oss-security/2011/11/18/8
- http://osvdb.org/77199
- http://weblog.rubyonrails.org/2011/11/18/rails-3-0-11-has-been-released
- http://weblog.rubyonrails.org/2011/11/18/rails-3-1-2-has-been-released
- http://www.securityfocus.com/bid/50722
- http://www.securitytracker.com/id?1026342
- https://exchange.xforce.ibmcloud.com/vulnerabilities/71364
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2011-4319'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2011-4319'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2011-4319'curl 'https://api.contrastcyber.com/cve_products/CVE-2011-4319'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).