CVE-2007-3227
CVE-2007-3227 is a medium-severity vulnerability in Rubyonrails Rails with a CVSS 2.0 base score of 4.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-79.
Key facts
- Severity: Medium (CVSS 2.0 base score 4.3)
- EPSS exploit prediction: 4% (88th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-79
- Affected product: Rubyonrails Rails
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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 values.
- How severe is CVE-2007-3227?
- CVE-2007-3227 has a CVSS 2.0 base score of 4.3, rated medium severity.
- Is CVE-2007-3227 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (88th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2007-3227?
- CVE-2007-3227 affects Rubyonrails Rails. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2007-3227?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2007-3227 published?
- CVE-2007-3227 was published on 2007-06-14 and last updated on 2026-06-16.
References
- http://bugs.gentoo.org/show_bug.cgi?id=195315
- http://dev.rubyonrails.org/ticket/8371
- http://osvdb.org/36378
- http://pastie.caboo.se/65550.txt
- http://secunia.com/advisories/25699
- http://secunia.com/advisories/27657
- http://secunia.com/advisories/27756
- http://security.gentoo.org/glsa/glsa-200711-17.xml
- http://weblog.rubyonrails.org/2007/10/12/rails-1-2-5-maintenance-release
- http://weblog.rubyonrails.org/2007/10/5/rails-1-2-4-maintenance-release
- http://www.novell.com/linux/security/advisories/2007_24_sr.html
- http://www.securityfocus.com/bid/24161
- http://www.vupen.com/english/advisories/2007/2216
Affected products (1)
- cpe:2.3:a:rubyonrails:rails:1.1.5:*:*:*:*:*:*:*
More vulnerabilities in Rubyonrails Rails
- CVE-2013-0277 — Critical (CVSS 10.0): ActiveRecord in Ruby on Rails before 2.3.17 and 3.x before 3.1.0 allows remote attackers to cause a denial of service…
- CVE-2026-33195 — Critical (CVSS 9.8): Active Storage allows users to attach cloud and local files in Rails applications. Prior to versions 8.1.2.1, 8.0.4.1,…
- CVE-2020-8165 — Critical (CVSS 9.8): A deserialization of untrusted data vulnernerability exists in rails < 5.2.4.3, rails < 6.0.3.1 that can allow an…
- CVE-2019-5420 — Critical (CVSS 9.8): A remote code execution vulnerability in development mode Rails <5.2.2.1, <6.0.0.beta3 can allow an attacker to guess…
- CVE-2026-33202 — Critical (CVSS 9.1): Active Storage allows users to attach cloud and local files in Rails applications. Prior to versions 8.1.2.1, 8.0.4.1,…
- CVE-2020-8163 — High (CVSS 8.8): The is a code injection vulnerability in versions of Rails prior to 5.0.1 that wouldallow an attacker who controlled…
All CVEs affecting Rubyonrails Rails →
Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities
- CVE-2025-49410 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Imran Emu TC…
- CVE-2024-47875 — Critical (CVSS 10.0): DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to…
- CVE-2024-6886 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea…
- CVE-2023-45144 — Critical (CVSS 10.0): com.xwiki.identity-oauth:identity-oauth-ui is a package to aid in building identity and service providers based on…
- CVE-2023-45138 — Critical (CVSS 10.0): Change Request is an pplication allowing users to request changes on a wiki without publishing the changes directly.…
- CVE-2022-4361 — Critical (CVSS 10.0): Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the…
Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →