{"cve":"CVE-2011-4319","nvd":{"published":"2011-11-28T11:55:09.127","modified":"2026-06-16T23:34:46.153","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-79"],"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"],"products":["rubyonrails:rails","rubyonrails:ruby_on_rails"],"source":"nvd","synced_at":"2026-10-19T19:59:31.623151214+00:00"},"epss":{"cve":"CVE-2011-4319","score":0.01578,"percentile":0.75491,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-xxr8-833v-c7wc","url":"https://osv.dev/vulnerability/GHSA-xxr8-833v-c7wc","summary":"Cross-site Scripting vulnerability in i18n translations helper method","modified":"2024-12-07T05:23:15.379340Z","packages":[{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=3.0.0 <3.0.11"],"fixed":["3.0.11"]},{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=3.1.0 <3.1.2"],"fixed":["3.1.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}