{"id":"DEBIAN-CVE-2015-3226","details":"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.","modified":"2026-09-09T06:47:20.075325427Z","published":"2015-07-26T22:59:05.133Z","upstream":["CVE-2015-3226"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2015-3226"}],"affected":[{"package":{"name":"rails","ecosystem":"Debian:12","purl":"pkg:deb/debian/rails?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:4.2.4-2"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2015-3226.json"}},{"package":{"name":"rails","ecosystem":"Debian:13","purl":"pkg:deb/debian/rails?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:4.2.4-2"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2015-3226.json"}},{"package":{"name":"rails","ecosystem":"Debian:14","purl":"pkg:deb/debian/rails?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:4.2.4-2"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2015-3226.json"}}],"schema_version":"1.9.0"}