CVE-2007-3227: Rubyonrails Rails

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

Cross-site scripting (XSS) vulnerability in the to_json (ActiveRecord::Base#to_json) function in Ruby on Rails before edge 9606 allows remote attackers to inject arbitrary web script via the input values.

What to do

No fixed version is stated in NVD's or the CNA's structured data. Check the vendor's advisory among the references.

Affected products

Affected packages

Published 2007-06-14. Last modified 2026-06-16.