What’s Vulnerable › Vulnerabilities
CVE-2015-3226
- Severity: medium (CVSS 4.3 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2015-07-26 · updated 2026-06-17
- Weakness: CWE-79
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.
Affected products
- Ruby on Rails: 3.0.0, 3.1.0, 3.2.0, 3.2.1, 3.2.2, 3.2.3 (+24)
- rubyonrails Ruby On Rails: 3.2.14
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
- 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
Get alerted when CVE-2015-3226 or the next vulnerability affects your stack