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
Published Jun 14, 2007
4.3
MEDIUMCVSS 2.0
EPSS 3.68%
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.
Affected products
No data.
- 1.1.5
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (18 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.68% (0.03683) | 89.33th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.68% (0.03683) | 88.22th | v5 (v2026.06.15) |
| Feb 25, 2026 | 13.63% (0.13632) | 94.10th | v4 (v2025.03.14) |
| Aug 29, 2025 | 12.05% (0.12046) | 93.53th | v4 (v2025.03.14) |
| May 21, 2025 | 15.07% (0.15075) | 94.21th | v4 (v2025.03.14) |
| Mar 30, 2025 | 13.78% (0.13779) | 93.68th | v4 (v2025.03.14) |
| Mar 29, 2025 | 22.71% (0.22707) | 93.32th | v4 (v2025.03.14) |
| Mar 17, 2025 | 14.70% (0.14698) | 93.98th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.88% (0.00881) | 83.20th | v3 (v2023.03.01) |
| May 25, 2024 | 1.40% (0.01400) | 86.40th | v3 (v2023.03.01) |
| Apr 17, 2024 | 1.11% (0.01107) | 84.30th | v3 (v2023.03.01) |
| Mar 10, 2024 | 1.18% (0.01176) | 84.66th | v3 (v2023.03.01) |
| Feb 1, 2024 | 0.71% (0.00707) | 78.38th | v3 (v2023.03.01) |
| Oct 9, 2023 | 0.72% (0.00724) | 78.42th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.63% (0.00634) | 75.82th | v3 (v2023.03.01) |
| Mar 6, 2023 | 5.65% (0.05649) | 90.28th | v2 (v2022.01.01) |
| Apr 1, 2022 | 5.65% (0.05649) | 89.33th | v2 (v2022.01.01) |
| Feb 4, 2022 | 5.65% (0.05649) | 76.89th | v2 (v2022.01.01) |
References (16)
- http://bugs.gentoo.org/show_bug.cgi?id=195315 x_refsource_CONFIRM
- http://dev.rubyonrails.org/ticket/8371 x_refsource_CONFIRM
- http://osvdb.org/36378 vdb-entryx_refsource_OSVDB
- http://pastie.caboo.se/65550.txt x_refsource_CONFIRM
- http://secunia.com/advisories/25699 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/27657 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/27756 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://security.gentoo.org/glsa/glsa-200711-17.xml vendor-advisoryx_refsource_GENTOO
- http://weblog.rubyonrails.org/2007/10/12/rails-1-2-5-maintenance-release x_refsource_CONFIRM
- http://weblog.rubyonrails.org/2007/10/5/rails-1-2-4-maintenance-release x_refsource_CONFIRM
- http://www.novell.com/linux/security/advisories/2007_24_sr.html vendor-advisoryx_refsource_SUSE
- http://www.securityfocus.com/bid/24161 vdb-entryx_refsource_BIDExploit
- http://www.vupen.com/english/advisories/2007/2216 vdb-entryx_refsource_VUPENVendor Advisory
- https://github.com/advisories/GHSA-gm25-fpmr-43fj Advisory
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2007-3227.yml
- https://nvd.nist.gov/vuln/detail/CVE-2007-3227
Change history (0)
No recorded changes yet.