{"id":"CVE-2013-4491","aliases":["DSA-2888-1","EUVD-2017-0173","GHSA-699m-mcjm-9cw8","RHSA-2013:1794","RHSA-2014:0008","UBUNTU-CVE-2013-4491"],"status":"published","title":"actionpack vulnerable to Cross-site Scripting","description":"Cross-site scripting (XSS) vulnerability in actionpack/lib/action_view/helpers/translation_helper.rb in the internationalization component in Ruby on Rails 3.x before 3.2.16 and 4.x before 4.0.2 allows remote attackers to inject arbitrary web script or HTML via a crafted string that triggers generation of a fallback string by the i18n gem.","severity":{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.02233,"percentile":0.82898,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2013-12-07T00:00:00Z","modified":"2026-06-29T10:06:11Z","fixes":[{"ecosystem":"RubyGems","package":"actionpack","fixed_in":["3.2.16","4.0.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"actionpack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.2.16"}]}]},{"source":"ghsa","ecosystem":"RubyGems","package":"actionpack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.0.2"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"ruby-actionpack-3.2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.6-6+deb7u1"}]}],"versions":["3.2.6-6"],"bundled":5},{"source":"osv","ecosystem":"RubyGems","package":"actionpack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.2.16"}]}],"versions":["3.0.0","3.0.1","3.0.10","3.0.10.rc1","3.0.11","3.0.12","3.0.12.rc1","3.0.13","3.0.13.rc1","3.0.14","3.0.15","3.0.16","3.0.17","3.0.18","3.0.19","3.0.2","3.0.20","3.0.3","3.0.4","3.0.4.rc1","3.0.5","3.0.5.rc1","3.0.6","3.0.6.rc1","3.0.6.rc2","3.0.7","3.0.7.rc1","3.0.7.rc2","3.0.8","3.0.8.rc1","3.0.8.rc2","3.0.8.rc4","3.0.9","3.0.9.rc1","3.0.9.rc3","3.0.9.rc4","3.0.9.rc5","3.1.0","3.1.0.beta1","3.1.0.rc1","3.1.0.rc2","3.1.0.rc3","3.1.0.rc4","3.1.0.rc5","3.1.0.rc6","3.1.0.rc8","3.1.1","3.1.1.rc1","3.1.1.rc2","3.1.1.rc3","3.1.10","3.1.11","3.1.12","3.1.2","3.1.2.rc1","3.1.2.rc2","3.1.3","3.1.4","3.1.4.rc1","3.1.5","3.1.5.rc1","3.1.6","3.1.7","3.1.8","3.1.9","3.2.0","3.2.0.rc1","3.2.0.rc2","3.2.1","3.2.10","3.2.11","3.2.12","3.2.13","3.2.13.rc1","3.2.13.rc2","3.2.14","3.2.14.rc1","3.2.14.rc2","3.2.15","3.2.15.rc1","3.2.15.rc2","3.2.15.rc3","3.2.2","3.2.2.rc1","3.2.3","3.2.3.rc1","3.2.3.rc2","3.2.4","3.2.4.rc1","3.2.5","3.2.6","3.2.7","3.2.7.rc1","3.2.8","3.2.8.rc1","3.2.8.rc2","3.2.9","3.2.9.rc1","3.2.9.rc2","3.2.9.rc3"]},{"source":"osv","ecosystem":"RubyGems","package":"actionpack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.0.2"}]}],"versions":["4.0.0","4.0.1","4.0.1.rc1","4.0.1.rc2","4.0.1.rc3","4.0.1.rc4"]},{"source":"osv","ecosystem":"Red Hat:rhel_software_collections:1::el6","package":"ruby193-rubygem-actionpack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.2.8-5.1.el6"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:rhel_software_collections:1::el6","package":"ruby193-rubygem-actionpack-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.2.8-5.1.el6"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:openstack:3::el6","package":"ruby193-rubygem-actionpack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.2.8-5.1.el6"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:openstack:3::el6","package":"ruby193-rubygem-actionpack-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.2.8-5.1.el6"}]}],"bundled":4}],"products":[{"vendor":"rubyonrails","product":"rails"},{"vendor":"rubyonrails","product":"ruby_on_rails"}],"references":[{"url":"http://rhn.redhat.com/errata/RHSA-2014-0008.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","web"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-12/msg00081.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://secunia.com/advisories/57836","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-updates/2014-01/msg00003.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-12/msg00082.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.securityfocus.com/bid/64076","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-12/msg00079.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://groups.google.com/forum/message/raw?msg=ruby-security-ann/pLrh6DUw998/bLFEyIO4k_EJ","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://weblog.rubyonrails.org/2013/12/3/Rails_3_2_16_and_4_0_2_have_been_released/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2014-1863.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1794.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","web"]},{"url":"http://www.getchef.com/blog/2014/04/09/enterprise-chef-11-1-3-release/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.debian.org/security/2014/dsa-2888","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","web"]},{"url":"https://puppet.com/security/cve/cve-2013-4491","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4491","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-699m-mcjm-9cw8","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2013-4491.yml","tags":["web"]},{"url":"https://groups.google.com/forum/#!topic/ruby-security-ann/pLrh6DUw998","tags":["web"]},{"url":"http://weblog.rubyonrails.org/2013/12/3/Rails_3_2_16_and_4_0_2_have_been_released","tags":["web"]},{"url":"https://access.redhat.com/errata/RHSA-2013:1794","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1036409","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1036483","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1036910","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1036922","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_1794.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2013-4491","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-4491","tags":["advisory","report"]},{"url":"https://access.redhat.com/security/cve/CVE-2013-6414","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-6414","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-6414","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2013-6415","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-6415","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-6415","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2013-6417","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-6417","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-6417","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2014:0008","tags":["advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2014/rhsa-2014_0008.json","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2013-4491","tags":["report"]},{"url":"http://www.openwall.com/lists/oss-security/2013/12/03/10","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2013-4491","description":"Cross-site scripting (XSS) vulnerability in actionpack/lib/action_view/helpers/translation_helper.rb in the internationalization component in Ruby on Rails 3.x before 3.2.16 and 4.x before 4.0.2 allows remote attackers to inject arbitrary web script or HTML via a crafted string that triggers generation of a fallback string by the i18n gem.","status":"published","published":"2013-12-07T00:00:00Z","modified":"2024-08-06T16:45:14.928Z","updated_at":"2026-11-02T14:34:57.869657Z"}],"euvd":[{"id":"EUVD-2017-0173","description":"Cross-site scripting (XSS) vulnerability in actionpack/lib/action_view/helpers/translation_helper.rb in the internationalization component in Ruby on Rails 3.x before 3.2.16 and 4.x before 4.0.2 allows remote attackers to inject arbitrary web script or HTML via a crafted string that triggers generation of a fallback string by the i18n gem.","status":"published","published":"2013-12-07T00:00:00Z","modified":"2024-08-06T16:45:14Z","updated_at":"2026-11-03T01:56:31.067159Z"}],"ghsa":[{"id":"GHSA-699m-mcjm-9cw8","title":"actionpack vulnerable to Cross-site Scripting","description":"Cross-site scripting (XSS) vulnerability in `actionpack/lib/action_view/helpers/translation_helper.rb` in the internationalization component in Ruby on Rails 3.x before 3.2.16 and 4.x before 4.0.2 allows remote attackers to inject arbitrary web script or HTML via a crafted string that triggers generation of a fallback string by the i18n gem.","status":"published","published":"2017-10-24T18:33:37Z","modified":"2023-08-25T19:05:48Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:00.680009Z"}],"nvd":[{"id":"CVE-2013-4491","description":"Cross-site scripting (XSS) vulnerability in actionpack/lib/action_view/helpers/translation_helper.rb in the internationalization component in Ruby on Rails 3.x before 3.2.16 and 4.x before 4.0.2 allows remote attackers to inject arbitrary web script or HTML via a crafted string that triggers generation of a fallback string by the i18n gem.","status":"published","published":"2013-12-07T00:55:03.553Z","modified":"2026-06-16T23:57:19.477Z","cvss":[{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:02:44.596064Z"}],"osv":[{"id":"DSA-2888-1","title":"ruby-actionpack-3.2 - security update","status":"published","published":"2014-03-27T00:00:00Z","modified":"2026-03-09T01:21:40.820991Z","updated_at":"2026-11-02T15:46:15.843838Z"},{"id":"GHSA-699m-mcjm-9cw8","title":"actionpack vulnerable to Cross-site Scripting","description":"Cross-site scripting (XSS) vulnerability in `actionpack/lib/action_view/helpers/translation_helper.rb` in the internationalization component in Ruby on Rails 3.x before 3.2.16 and 4.x before 4.0.2 allows remote attackers to inject arbitrary web script or HTML via a crafted string that triggers generation of a fallback string by the i18n gem.","status":"published","published":"2017-10-24T18:33:37Z","modified":"2024-11-29T05:42:51.010893Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:39.618611Z"},{"id":"RHSA-2013:1794","title":"Red Hat Security Advisory: ruby193-rubygem-actionpack security update","status":"published","published":"2024-09-13T08:26:59Z","modified":"2026-06-29T10:06:01Z","updated_at":"2026-11-02T15:53:01.993625Z"},{"id":"RHSA-2014:0008","title":"Red Hat Security Advisory: ruby193-rubygem-actionpack security update","status":"published","published":"2024-09-13T08:27:19Z","modified":"2026-06-29T10:06:11Z","updated_at":"2026-11-02T15:53:01.993625Z"},{"id":"UBUNTU-CVE-2013-4491","description":"Cross-site scripting (XSS) vulnerability in actionpack/lib/action_view/helpers/translation_helper.rb in the internationalization component in Ruby on Rails 3.x before 3.2.16 and 4.x before 4.0.2 allows remote attackers to inject arbitrary web script or HTML via a crafted string that triggers generation of a fallback string by the i18n gem.","status":"withdrawn","published":"2013-12-07T00:55:00Z","modified":"2025-07-16T08:10:46.891976Z","updated_at":"2026-11-02T15:54:07.421078Z"}]}}
