{"id":"CVE-2007-3227","state":"PUBLISHED","title":"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 scri","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.","publishedAt":"2007-06-14T23:00:00.000Z","updatedAt":"2024-08-07T14:05:29.598Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://pastie.caboo.se/65550.txt","http://secunia.com/advisories/25699","http://www.vupen.com/english/advisories/2007/2216","http://security.gentoo.org/glsa/glsa-200711-17.xml","http://secunia.com/advisories/27756","http://osvdb.org/36378","http://bugs.gentoo.org/show_bug.cgi?id=195315","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://secunia.com/advisories/27657","http://dev.rubyonrails.org/ticket/8371","http://www.securityfocus.com/bid/24161"],"weaknesses":[],"ingestedAt":"2026-10-29T19:38:33.664Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2007/3xxx/CVE-2007-3227.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2007-3227","state":"PUBLISHED","datePublished":"2007-06-14T23:00:00.000Z","dateUpdated":"2024-08-07T14:05:29.598Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2007-06-14T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://pastie.caboo.se/65550.txt","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/25699","name":"25699","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2007/2216","name":"ADV-2007-2216","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://security.gentoo.org/glsa/glsa-200711-17.xml","name":"GLSA-200711-17","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://secunia.com/advisories/27756","name":"27756","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://osvdb.org/36378","name":"36378","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=195315","tags":["x_refsource_CONFIRM"]},{"url":"http://weblog.rubyonrails.org/2007/10/12/rails-1-2-5-maintenance-release","tags":["x_refsource_CONFIRM"]},{"url":"http://weblog.rubyonrails.org/2007/10/5/rails-1-2-4-maintenance-release","tags":["x_refsource_CONFIRM"]},{"url":"http://www.novell.com/linux/security/advisories/2007_24_sr.html","name":"SUSE-SR:2007:024","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://secunia.com/advisories/27657","name":"27657","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://dev.rubyonrails.org/ticket/8371","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/24161","name":"24161","tags":["vdb-entry","x_refsource_BID"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2007-06-22T09:00:00.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2007-05-15T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2007-3227","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://pastie.caboo.se/65550.txt","refsource":"CONFIRM","url":"http://pastie.caboo.se/65550.txt"},{"name":"25699","refsource":"SECUNIA","url":"http://secunia.com/advisories/25699"},{"name":"ADV-2007-2216","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2007/2216"},{"name":"GLSA-200711-17","refsource":"GENTOO","url":"http://security.gentoo.org/glsa/glsa-200711-17.xml"},{"name":"27756","refsource":"SECUNIA","url":"http://secunia.com/advisories/27756"},{"name":"36378","refsource":"OSVDB","url":"http://osvdb.org/36378"},{"name":"http://bugs.gentoo.org/show_bug.cgi?id=195315","refsource":"CONFIRM","url":"http://bugs.gentoo.org/show_bug.cgi?id=195315"},{"name":"http://weblog.rubyonrails.org/2007/10/12/rails-1-2-5-maintenance-release","refsource":"CONFIRM","url":"http://weblog.rubyonrails.org/2007/10/12/rails-1-2-5-maintenance-release"},{"name":"http://weblog.rubyonrails.org/2007/10/5/rails-1-2-4-maintenance-release","refsource":"CONFIRM","url":"http://weblog.rubyonrails.org/2007/10/5/rails-1-2-4-maintenance-release"},{"name":"SUSE-SR:2007:024","refsource":"SUSE","url":"http://www.novell.com/linux/security/advisories/2007_24_sr.html"},{"name":"27657","refsource":"SECUNIA","url":"http://secunia.com/advisories/27657"},{"name":"http://dev.rubyonrails.org/ticket/8371","refsource":"CONFIRM","url":"http://dev.rubyonrails.org/ticket/8371"},{"name":"24161","refsource":"BID","url":"http://www.securityfocus.com/bid/24161"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://pastie.caboo.se/65550.txt","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/25699","name":"25699","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2007/2216","name":"ADV-2007-2216","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://security.gentoo.org/glsa/glsa-200711-17.xml","name":"GLSA-200711-17","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://secunia.com/advisories/27756","name":"27756","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://osvdb.org/36378","name":"36378","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=195315","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://weblog.rubyonrails.org/2007/10/12/rails-1-2-5-maintenance-release","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://weblog.rubyonrails.org/2007/10/5/rails-1-2-4-maintenance-release","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.novell.com/linux/security/advisories/2007_24_sr.html","name":"SUSE-SR:2007:024","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://secunia.com/advisories/27657","name":"27657","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://dev.rubyonrails.org/ticket/8371","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securityfocus.com/bid/24161","name":"24161","tags":["vdb-entry","x_refsource_BID","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T14:05:29.598Z"}}]}}}