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.

Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
2.760%
chance of exploitation in the next 30 days
higher than 86.5% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2015-07-26Published by the CNA22:00 UTC
  2. 2017-10-24GitHub advisory published (GHSA-vxvp-4xwc-jpp6)821 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-vxvp-4xwc-jpp6, affected packages:

PackageVulnerable versionsFixed in
RubyGems activesupportfrom 4.1.0 before 4.1.114.1.11
RubyGems activesupportfrom 4.2.0 before 4.2.24.2.2

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
rubyonrails rails3.0.0no fix listed3.1.0no fix listed3.2.0no fix listed3.2.1no fix listed3.2.10no fix listed(+25 more)not listednot listednot listednot listednot listed
rubyonrails ruby_on_rails3.2.14no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources