{ "canonical_id": "rails--CVE-2007-3227", "system_id": "rails", "display_name": "Ruby on Rails", "category": "frameworks", "advisory_mode": "core", "title": "Moderate severity vulnerability that affects rails", "summary": "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_at": "2017-10-24T18:33:38Z", "updated_at": "2025-04-09T15:30:21.670801Z", "severity": "medium", "cvss_score": 4.3, "exploit_status": "unknown", "source_confidence": "official", "official_source_url": "https://nvd.nist.gov/vuln/detail/CVE-2007-3227", "secondary_source_urls": [ "http://bugs.gentoo.org/show_bug.cgi?id=195315", "https://github.com/advisories/GHSA-gm25-fpmr-43fj", "https://github.com/rails/rails", "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2007-3227.yml", "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" ], "aliases": [ "CVE-2007-3227", "GHSA-gm25-fpmr-43fj" ], "cve_ids": [ "CVE-2007-3227" ], "ghsa_ids": [ "GHSA-gm25-fpmr-43fj" ], "osv_ids": [ "GHSA-gm25-fpmr-43fj" ], "affected_versions": [ "0.10.0", "0.10.1", "0.11.0", "0.11.1", "0.12.0", "0.12.1", "0.13.0", "0.13.1", "0.14.1", "0.14.2", "0.14.3", "0.14.4", "0.8.0", "0.8.5", "0.9.0", "0.9.1", "0.9.2", "0.9.3", "0.9.4", "0.9.4.1", "introduced=0, fixed<1.2.5" ], "fixed_versions": [ "1.2.5" ], "package_name": "rails", "render_markdown": true, "case_path": "07-framework-security/frameworks/rails/cases/rails-cve-2007-3227.md", "secure_code_topics": [ "xss-output-encoding", "file-upload-validation", "authz-server-side-recheck" ], "status": "generated", "triage_reasons": [], "verification_status": "triage-manual", "verification_mode": "synthetic", "last_verified_at": null, "last_run_id": null, "evidence_bundle": null, "historical_status": null, "latest_status": null, "browser_evidence": { "required": false, "present": false, "refs": [] }, "repro_profile_id": "xss-generic", "artifact_mode": "synthetic", "blocked_reason": null, "metadata": { "source_names": [ "OSV Rails", "NVD Ruby on Rails" ], "source_kinds": [ "osv-batch", "nvd-search" ], "candidate_count": 2 } }