CVE-2015-3226: Rubyonrails Rails

Medium severity, CVSS 4.3. EPSS: 2.8% probability of exploitation activity in the next 30 days.

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.

What to do

No fixed version is stated in NVD's or the CNA's structured data. The description says "before 4.1.11", "before 4.2.2"; check the vendor's advisory for the release that fixes it.

Affected products

Affected packages

Published 2015-07-26. Last modified 2026-06-17.