Skip to content
Fencer Vulns
medium 4.3

CVE-2007-3227 json

Moderate severity vulnerability that affects rails

published 2007-06-14 19 y ago modified 2026-06-16 4 mo ago also GHSA-gm25-fpmr-43fj , EUVD-2017-0241

cvss
4.3
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.7%
EPSS 3.7% chance of exploitation in 30 days, percentile 89%
public exploits
1
Exploit-DB

Summary

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.

Patch / fix

  • rubygems rails 1.2.5
  • rails Debian 14, Debian 13, Debian 12 1.2.5-1

debian advisories DEBIAN-CVE-2007-3227

Timeline

  1. First public exploit (EDB-30089)
  2. Published

Exploit prediction

3.68% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • EDB-30089 Ruby on Rails 1.2.3 To_JSON - Script Injection remote, 2007-05-25
  • securityfocus.com http://www.securityfocus.com/bid/24161 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected packages

ecosystem package affected fixed in
rubygems rails
<1.2.5
1.2.5

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.