{"id":"CVE-2013-6416","aliases":["EUVD-2017-0319","GHSA-w37c-q653-qg95"],"status":"published","title":"actionpack Cross-site Scripting vulnerability","description":"Cross-site scripting (XSS) vulnerability in the simple_format helper in actionpack/lib/action_view/helpers/text_helper.rb in Ruby on Rails 4.x before 4.0.2 allows remote attackers to inject arbitrary web script or HTML via a crafted HTML attribute.","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.01963,"percentile":0.8049,"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-17T00:00:26Z","fixes":[{"ecosystem":"RubyGems","package":"actionpack","fixed_in":["4.0.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"actionpack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.0.2"}]}]},{"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"]}],"products":[{"vendor":"rubyonrails","product":"rails"}],"references":[{"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":"https://groups.google.com/forum/message/raw?msg=ruby-security-ann/5ZI1-H5OoIM/ZNq4FoR2GnIJ","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/64071","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-6416","tags":["advisory"]},{"url":"https://web.archive.org/web/20200228165109/http://www.securityfocus.com/bid/64071","tags":["web"]},{"url":"https://github.com/rails/rails/commit/4b4f5847f64f81c961625e647711ef9f6ad1a454","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2013-6416.yml","tags":["web"]},{"url":"https://groups.google.com/forum/#!topic/ruby-security-ann/5ZI1-H5OoIM","tags":["web"]},{"url":"https://github.com/advisories/GHSA-w37c-q653-qg95"},{"url":"https://github.com/rails/rails","tags":["package"]},{"url":"http://weblog.rubyonrails.org/2013/12/3/Rails_3_2_16_and_4_0_2_have_been_released","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2013-6416","description":"Cross-site scripting (XSS) vulnerability in the simple_format helper in actionpack/lib/action_view/helpers/text_helper.rb in Ruby on Rails 4.x before 4.0.2 allows remote attackers to inject arbitrary web script or HTML via a crafted HTML attribute.","status":"published","published":"2013-12-07T00:00:00Z","modified":"2024-08-06T17:39:01.296Z","updated_at":"2026-11-02T14:34:57.195423Z"}],"euvd":[{"id":"EUVD-2017-0319","description":"Cross-site scripting (XSS) vulnerability in the simple_format helper in actionpack/lib/action_view/helpers/text_helper.rb in Ruby on Rails 4.x before 4.0.2 allows remote attackers to inject arbitrary web script or HTML via a crafted HTML attribute.","status":"published","published":"2013-12-07T00:00:00Z","modified":"2024-08-06T17:39:01Z","updated_at":"2026-11-03T01:56:26.306678Z"}],"ghsa":[{"id":"GHSA-w37c-q653-qg95","title":"actionpack Cross-site Scripting vulnerability","description":"Cross-site scripting (XSS) vulnerability in the simple_format helper in `actionpack/lib/action_view/helpers/text_helper.rb` in Ruby on Rails 4.x before 4.0.2 allows remote attackers to inject arbitrary web script or HTML via a crafted HTML attribute.","status":"published","published":"2017-10-24T18:33:36Z","modified":"2023-07-26T18:41:29Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:58.177785Z"}],"nvd":[{"id":"CVE-2013-6416","description":"Cross-site scripting (XSS) vulnerability in the simple_format helper in actionpack/lib/action_view/helpers/text_helper.rb in Ruby on Rails 4.x before 4.0.2 allows remote attackers to inject arbitrary web script or HTML via a crafted HTML attribute.","status":"published","published":"2013-12-07T00:55:03.74Z","modified":"2026-06-17T00:00:26.917Z","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":"GHSA-w37c-q653-qg95","title":"actionpack Cross-site Scripting vulnerability","description":"Cross-site scripting (XSS) vulnerability in the simple_format helper in `actionpack/lib/action_view/helpers/text_helper.rb` in Ruby on Rails 4.x before 4.0.2 allows remote attackers to inject arbitrary web script or HTML via a crafted HTML attribute.","status":"published","published":"2017-10-24T18:33:36Z","modified":"2024-12-03T06:02:44.626274Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:58.04805Z"}]}}
