{"id":"CVE-2015-3226","aliases":["DEBIAN-CVE-2015-3226","DSA-3464-1","EUVD-2017-0317","GHSA-vxvp-4xwc-jpp6","SUSE-SU-2016:0082-1","UBUNTU-CVE-2015-3226","openSUSE-SU-2024:10574-1"],"status":"published","title":"activesupport Cross-site Scripting vulnerability","description":"Cross-site scripting (XSS) vulnerability in json/encoding.rb in Active Support in Ruby on Rails 3.x and 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted Hash that is mishandled during JSON encoding.","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-08","score":0.0276,"percentile":0.86361,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2015-07-26T22:00:00Z","modified":"2026-09-09T06:47:20Z","fixes":[{"ecosystem":"RubyGems","package":"activesupport","fixed_in":["4.1.11","4.2.2"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"rails","fixed_in":["2:4.2.4-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"rails","fixed_in":["2:4.2.4-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"rails","fixed_in":["2:4.2.4-2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"activesupport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0"},{"fixed":"4.1.11"}]}]},{"source":"ghsa","ecosystem":"RubyGems","package":"activesupport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2.0"},{"fixed":"4.2.2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:4.2.4-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:4.2.4-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:4.2.4-2"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:4.1.8-1+deb8u1"}]}],"versions":["2:4.1.8-1"],"bundled":8},{"source":"osv","ecosystem":"RubyGems","package":"activesupport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0"},{"fixed":"4.1.11"}]}],"versions":["4.1.0","4.1.1","4.1.10","4.1.10.rc1","4.1.10.rc2","4.1.10.rc3","4.1.10.rc4","4.1.2","4.1.2.rc1","4.1.2.rc2","4.1.2.rc3","4.1.3","4.1.4","4.1.5","4.1.6","4.1.6.rc1","4.1.6.rc2","4.1.7","4.1.7.1","4.1.8","4.1.9","4.1.9.rc1"]},{"source":"osv","ecosystem":"RubyGems","package":"activesupport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2.0"},{"fixed":"4.2.2"}]}],"versions":["4.2.0","4.2.1","4.2.1.rc1","4.2.1.rc2","4.2.1.rc3","4.2.1.rc4"]},{"source":"osv","ecosystem":"SUSE:OpenStack Cloud 5","package":"rubygem-activesupport-4_1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.9-9.2"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"rubygem-activesupport-4_2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.0.0.1-1.1"}]}],"bundled":2}],"products":[{"vendor":"rubyonrails","product":"rails"},{"vendor":"rubyonrails","product":"ruby_on_rails"}],"references":[{"url":"http://www.securitytracker.com/id/1033755","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"https://groups.google.com/forum/message/raw?msg=rubyonrails-security/7VlB_pck3hU/3QZrGIaQW6cJ","tags":["mailing-list","x_refsource_MLIST","x_transferred","Vendor Advisory","advisory","web","report"]},{"url":"http://www.securityfocus.com/bid/75231","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://openwall.com/lists/oss-security/2015/06/16/17","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.debian.org/security/2016/dsa-3464","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-3226","tags":["advisory"]},{"url":"https://web.archive.org/web/20200228033946/http://www.securityfocus.com/bid/75231","tags":["web"]},{"url":"https://web.archive.org/web/20200517005133/http://www.securitytracker.com/id/1033755","tags":["web"]},{"url":"https://groups.google.com/g/rubyonrails-core/c/qBUqVlXERag/m/kuH3wQk1kxUJ","tags":["web"]},{"url":"https://github.com/advisories/GHSA-vxvp-4xwc-jpp6"},{"url":"https://security-tracker.debian.org/tracker/CVE-2015-3226","tags":["advisory"]},{"url":"https://github.com/rails/rails","tags":["package"]},{"url":"https://www.suse.com/support/update/announcement/2016/suse-su-20160082-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/934799","tags":["report"]},{"url":"https://bugzilla.suse.com/934800","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2015-3226","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-3227","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2015-3226","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-3226","tags":["report"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2015-3226","description":"Cross-site scripting (XSS) vulnerability in json/encoding.rb in Active Support in Ruby on Rails 3.x and 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted Hash that is mishandled during JSON encoding.","status":"published","published":"2015-07-26T22:00:00Z","modified":"2024-08-06T05:39:32.141Z","updated_at":"2026-11-02T14:35:42.331636Z"}],"euvd":[{"id":"EUVD-2017-0317","description":"Cross-site scripting (XSS) vulnerability in json/encoding.rb in Active Support in Ruby on Rails 3.x and 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted Hash that is mishandled during JSON encoding.","status":"published","published":"2015-07-26T22:00:00Z","modified":"2024-08-06T05:39:32Z","updated_at":"2026-11-03T02:22:08.642556Z"}],"ghsa":[{"id":"GHSA-vxvp-4xwc-jpp6","title":"activesupport Cross-site Scripting vulnerability","description":"Cross-site scripting (XSS) vulnerability in `json/encoding.rb` in Active Support in Ruby on Rails 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted Hash that is mishandled during JSON encoding.","status":"published","published":"2017-10-24T18:33:36Z","modified":"2025-11-04T20:42:19Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:39:06.376137Z"}],"nvd":[{"id":"CVE-2015-3226","description":"Cross-site scripting (XSS) vulnerability in json/encoding.rb in Active Support in Ruby on Rails 3.x and 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted Hash that is mishandled during JSON encoding.","status":"published","published":"2015-07-26T22:59:05.133Z","modified":"2026-06-17T00:25:34.587Z","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:03:07.96297Z"}],"osv":[{"id":"CVE-2015-3226","description":"Cross-site scripting (XSS) vulnerability in json/encoding.rb in Active Support in Ruby on Rails 3.x and 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted Hash that is mishandled during JSON encoding.","status":"published","published":"2015-07-26T22:59:05Z","modified":"2026-04-10T03:45:14.388943Z","updated_at":"2026-11-02T15:44:00.594921Z"},{"id":"DEBIAN-CVE-2015-3226","description":"Cross-site scripting (XSS) vulnerability in json/encoding.rb in Active Support in Ruby on Rails 3.x and 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted Hash that is mishandled during JSON encoding.","status":"published","published":"2015-07-26T22:59:05.133Z","modified":"2026-09-09T06:47:20.075325427Z","updated_at":"2026-11-02T15:45:26.752992Z"},{"id":"DSA-3464-1","title":"rails - security update","status":"published","published":"2016-01-31T00:00:00Z","modified":"2026-03-09T01:23:14.489999Z","updated_at":"2026-11-02T15:46:16.199525Z"},{"id":"GHSA-vxvp-4xwc-jpp6","title":"activesupport Cross-site Scripting vulnerability","description":"Cross-site scripting (XSS) vulnerability in `json/encoding.rb` in Active Support in Ruby on Rails 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted Hash that is mishandled during JSON encoding.","status":"published","published":"2017-10-24T18:33:36Z","modified":"2025-11-04T21:04:17.912261Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:58.04805Z"},{"id":"openSUSE-SU-2024:10574-1","title":"ruby2.2-rubygem-activesupport-4_2-4.2.7.1-1.1 on GA media","description":"These are all security issues fixed in the ruby2.2-rubygem-activesupport-4_2-4.2.7.1-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:12:33.541311Z","updated_at":"2026-11-02T16:58:34.487567Z"},{"id":"SUSE-SU-2016:0082-1","title":"Security update for rubygem-activesupport-4_1","description":"\n\n  This update fixes the following security issues:\n\n - CVE-2015-3227: Possible Denial of Service\n  attack in Active Support (bnc#934800)\n\n - CVE-2015-3226:  XSS Vulnerability in\n  ActiveSupport::JSON (bnc#934799)\n\n","status":"published","published":"2016-01-12T10:24:18Z","modified":"2026-02-04T02:56:54.450131Z","updated_at":"2026-11-02T15:53:43.030986Z"},{"id":"UBUNTU-CVE-2015-3226","description":"Cross-site scripting (XSS) vulnerability in json/encoding.rb in Active Support in Ruby on Rails 3.x and 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted Hash that is mishandled during JSON encoding.","status":"withdrawn","published":"2015-07-26T22:59:00Z","modified":"2025-07-16T07:17:31.223219Z","updated_at":"2026-11-02T15:54:10.045446Z"}]}}
