CVE-2007-3227

Summary

CVECVE-2007-3227
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2007-06-14 23:30:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionCross-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.

Risk And Classification

Primary CVSS: v2.0 4.3 from [email protected]

AV:N/AC:M/Au:N/C:N/I:P/A:N

Problem Types: CWE-79 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None

AV:N/AC:M/Au:N/C:N/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Rubyonrails Rails 1.1.5 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
#8371 (to_json cross site scripting security issue (XSS)) - Rails Trac - Trac af854a3a-2127-422b-91ae-364da2661108 dev.rubyonrails.org
Gentoo Bug 195315 - dev-ruby/rails <1.2.5 Multiple vulnerabilities (CVE-2007-{3227,5379,5380}) af854a3a-2127-422b-91ae-364da2661108 bugs.gentoo.org
Gentoo Linux Documentation -- Ruby on Rails: Multiple vulnerabilities af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Vendor Advisory
Gentoo update for rails - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
pastie.caboo.se/65550.txt af854a3a-2127-422b-91ae-364da2661108 pastie.caboo.se
Ruby on Rails To_JSON Script Injection Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Exploit
SUSE Update for Multiple Packages - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Ruby on Rails Multiple Vulnerabilities - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
osvdb.org/36378 af854a3a-2127-422b-91ae-364da2661108 osvdb.org
Riding Rails: Rails 1.2.4: Maintenance release af854a3a-2127-422b-91ae-364da2661108 weblog.rubyonrails.org
Riding Rails: Rails 1.2.5: Security and maintenance release af854a3a-2127-422b-91ae-364da2661108 weblog.rubyonrails.org
Security Announcement af854a3a-2127-422b-91ae-364da2661108 www.novell.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report