{"cve":"CVE-2015-3226","nvd":{"published":"2015-07-26T22:59:05.133","modified":"2026-06-17T00:25:34.587","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-79"],"references":["http://openwall.com/lists/oss-security/2015/06/16/17","http://www.debian.org/security/2016/dsa-3464","http://www.securityfocus.com/bid/75231","http://www.securitytracker.com/id/1033755","https://groups.google.com/forum/message/raw?msg=rubyonrails-security/7VlB_pck3hU/3QZrGIaQW6cJ"],"products":["rubyonrails:rails","rubyonrails:ruby_on_rails"],"source":"nvd","synced_at":"2026-10-19T20:36:40.444340523+00:00"},"epss":{"cve":"CVE-2015-3226","score":0.0278,"percentile":0.86375,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-vxvp-4xwc-jpp6","url":"https://osv.dev/vulnerability/GHSA-vxvp-4xwc-jpp6","summary":"activesupport Cross-site Scripting vulnerability","modified":"2025-11-04T21:04:17.912261Z","packages":[{"ecosystem":"RubyGems","name":"activesupport","purl":"pkg:gem/activesupport","ranges":[">=4.1.0 <4.1.11"],"fixed":["4.1.11"]},{"ecosystem":"RubyGems","name":"activesupport","purl":"pkg:gem/activesupport","ranges":[">=4.2.0 <4.2.2"],"fixed":["4.2.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."]}