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.
Loading...
Loading...
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.
June 14, 2007
April 23, 2026
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| rails | 0.10.0 ... 1.2.4 (34 versions) | 1.2.5 | — |
Every time one of our enrichment pipelines (NVD, MITRE cvelistV5, EPSS, CISA KEV, GHSA, OSV, vendor advisories) ran against this CVE. Most recent first.
Working exploit code is in the public domain (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
Ruby on Rails 1.2.3 To_JSON - Script Injection
Open source ↗See which npm, PyPI, Go, and Maven packages are affected by CVE-2007-3227
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.