{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2015-3226","id":"CVE-2015-3226","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.","descriptionLong":"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.","published":"2015-07-26T22:00:00.000Z","updated":"2026-06-17T00:25:34.587Z","reserved":"2015-04-10T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"activesupport","purl":"pkg:gem/activesupport","ranges":[">=4.1.0 <4.1.11",">=4.2.0 <4.2.2"],"fixed":["4.1.11","4.2.2"],"advisory":"GHSA-vxvp-4xwc-jpp6"}],"cwes":["CWE-79"],"aliases":["GHSA-vxvp-4xwc-jpp6"],"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"]},{"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://github.com/rails/rails","tags":["package"]},{"url":"https://groups.google.com/g/rubyonrails-core/c/qBUqVlXERag/m/kuH3wQk1kxUJ","tags":["web"]},{"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"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0276,"epssPercentile":0.86554,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2015-3226","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-3226","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2015-3226","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-vxvp-4xwc-jpp6","ok":true,"note":"GHSA-vxvp-4xwc-jpp6"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2015-3226","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}