Back
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…
Medium4.3EPSS 3.7%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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 values.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
- EPSS (exploitation in 30 days)
- 3.7% · top 10% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.3.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemsrailsGHSA-gm25-fpmr-43fj (opens in a new tab)
References (13)
- http://pastie.caboo.se/65550.txt (opens in a new tab)x_refsource_CONFIRMx_transferred
- 25699 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- ADV-2007-2216 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- GLSA-200711-17 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- 27756 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 36378 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- http://bugs.gentoo.org/show_bug.cgi?id=195315 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://weblog.rubyonrails.org/2007/10/12/rails-1-2-5-maintenance-release (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://weblog.rubyonrails.org/2007/10/5/rails-1-2-4-maintenance-release (opens in a new tab)x_refsource_CONFIRMx_transferred
- SUSE-SR:2007:024 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 27657 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://dev.rubyonrails.org/ticket/8371 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 24161 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-gm25-fpmr-43fj (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2007-3227)Record last updated .