CVE-2011-4319 json
Cross-site Scripting vulnerability in i18n translations helper method
published 2011-11-28 14 y ago modified 2026-06-16 4 mo ago also GHSA-xxr8-833v-c7wc , EUVD-2017-0337
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems actionpack 3.0.11, 3.1.2
- github.com/rails/rails@2d5b105 commit
- github.com/rails/rails@ba2d850 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2011-4319 updated cvss 4.3
rubygem-actionpack: XSS in the 'translate' helper method
-
Red Hat Subscription Asset Manager rubygem-actionpackaffected: no fix available
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.58% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | actionpack | >=3.0.0, <3.0.11 >=3.1.0, <3.1.2 |
3.0.11 3.1.2 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
github.com
/rails/rails/commit/2d5b105d4bcb652550dda8b5613376d1b8beb70c
web
-
github.com
/rails/rails/commit/ba2d85012088fd0db0fab98b2e512c77c83cbade
web
-
osvdb.org
/77199
vdb-entry
-
openwall.com
/lists/oss-security/2011/11/18/8
mailing-list, web
-
weblog.rubyonrails.org
/2011/11/18/rails-3-0-11-has-been-released
web
-
groups.google.com
/group/rubyonrails-security/browse_thread/thread/2b61d70fb73c7cc5?pli=1
web
-
groups.google.com
/group/rubyonrails-security/msg/c65c24fbc4b6dd82?dmode=source&output=gplain
mailing-list, web
-
weblog.rubyonrails.org
/2011/11/18/rails-3-1-2-has-been-released
web
-
securitytracker.com
/id?1026342
vdb-entry
-
exchange.xforce.ibmcloud.com
/vulnerabilities/71364
vdb-entry, web
-
securityfocus.com
/bid/50722
vdb-entry
-
nvd.nist.gov
/vuln/detail/CVE-2011-4319
advisory
-
github.com
/rails/rails
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2011-4319.yml
web
-
groups.google.com
/forum/#!topic/rubyonrails-security/K2HXD7c8fMU
web
-
web.archive.org
/web/20200228155840/http://www.securityfocus.com/bid/50722
web
-
web.archive.org
/web/20210307005941/http://www.securitytracker.com/id?1026342
web
Sources
- CVE List CVE-2011-4319
- GitHub Advisory GHSA-xxr8-833v-c7wc
- NVD CVE-2011-4319
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.