CVE-2007-3227
mediumpriority · track · 28EPSS 0.037 · 90 %ileexploit · functionalEUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.9–4.3
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- EDB-30089Ruby on Rails 1.2.3 To_JSON - Script Injectionfunctional · exploit_db
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-gm25-fpmr-43fjModerate severity vulnerability that affects rails2017-10-24ghsa · osvUS
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.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (26)
External citations — patches, advisories, analysis.
- http://bugs.gentoo.org/show_bug.cgi?id=195315enisa_euvd
- http://dev.rubyonrails.org/ticket/8371enisa_euvd
- http://osvdb.org/36378enisa_euvd
- http://pastie.caboo.se/65550.txtenisa_euvd
- http://secunia.com/advisories/25699enisa_euvd
- http://secunia.com/advisories/27657enisa_euvd
- http://secunia.com/advisories/27756enisa_euvd
- http://security.gentoo.org/glsa/glsa-200711-17.xmlenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan