CVE-2007-3227
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
02 Description
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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 3.68% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 89.2% of scored records. A rank, not a probability.
- NVD base score
- The NVD has published no score for this record
- NVD CVSS vector
- No NVD score to derive
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-16.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2007-06-14 23:00Z19 YR AGO
- Last updated
- 2024-08-07 14:05Z2 YR AGO
- Reserved
- 2007-06-14
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')Base
- Data version
- 5.1
- Document digest
- 05bb669878fe811f38c2b9d049f425c71d0e5c9f22c071ff933e12a31e9c62c8
05 Affected products
06 References
- pastie.caboo.sehttp://pastie.caboo.se/65550.txt
- secunia.com25699http://secunia.com/advisories/25699
- www.vupen.comADV-2007-2216http://www.vupen.com/english/advisories/2007/2216
- security.gentoo.orgGLSA-200711-17http://security.gentoo.org/glsa/glsa-200711-17.xml
- secunia.com27756http://secunia.com/advisories/27756
- osvdb.org36378http://osvdb.org/36378
- bugs.gentoo.orghttp://bugs.gentoo.org/show_bug.cgi?id=195315
- weblog.rubyonrails.orghttp://weblog.rubyonrails.org/2007/10/12/rails-1-2-5-maintenance-release
- weblog.rubyonrails.orghttp://weblog.rubyonrails.org/2007/10/5/rails-1-2-4-maintenance-release
- www.novell.comSUSE-SR:2007:024http://www.novell.com/linux/security/advisories/2007_24_sr.html
- secunia.com27657http://secunia.com/advisories/27657
- dev.rubyonrails.orghttp://dev.rubyonrails.org/ticket/8371
- www.securityfocus.com24161http://www.securityfocus.com/bid/24161
07 Fixed in
Debian 12
- rails Fixed in 1.2.5-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- rails Fixed in 1.2.5-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- rails Fixed in 1.2.5-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.