CVE-2015-3226: Rubyonrails Rails

Medium severity, CVSS 4.3. EPSS: 2.8% chance of exploitation 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.

Affected products

  • Rubyonrails Rails: version 3.0.0 only; version 3.1.0 only; version 3.2.0 only; version 3.2.1 only; version 3.2.2 only; version 3.2.3 only; …
  • Rubyonrails Ruby On Rails: version 3.2.14 only

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