{"id":"CVE-2015-3226","state":"PUBLISHED","title":"Cross-site scripting (XSS) vulnerability in json/encoding.rb in Active Support in Ruby on Rails 3.x and 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject","description":"Cross-site scripting (XSS) vulnerability in json/encoding.rb in Active Support in Ruby on Rails 3.x and 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted Hash that is mishandled during JSON encoding.","publishedAt":"2015-07-26T22:00:00.000Z","updatedAt":"2024-08-06T05:39:32.141Z","severity":null,"assigner":"redhat","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.securitytracker.com/id/1033755","https://groups.google.com/forum/message/raw?msg=rubyonrails-security/7VlB_pck3hU/3QZrGIaQW6cJ","http://www.securityfocus.com/bid/75231","http://openwall.com/lists/oss-security/2015/06/16/17","http://www.debian.org/security/2016/dsa-3464"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:04.713Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2015/3xxx/CVE-2015-3226.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2015-3226","state":"PUBLISHED","datePublished":"2015-07-26T22:00:00.000Z","dateUpdated":"2024-08-06T05:39:32.141Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2015-04-10T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Cross-site scripting (XSS) vulnerability in json/encoding.rb in Active Support in Ruby on Rails 3.x and 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted Hash that is mishandled during JSON encoding."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.securitytracker.com/id/1033755","name":"1033755","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://groups.google.com/forum/message/raw?msg=rubyonrails-security/7VlB_pck3hU/3QZrGIaQW6cJ","name":"[rubyonrails-security] 20150616 [CVE-2015-3226] XSS Vulnerability in ActiveSupport::JSON.encode","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.securityfocus.com/bid/75231","name":"75231","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://openwall.com/lists/oss-security/2015/06/16/17","name":"[oss-security] 20150616 [CVE-2015-3226] XSS Vulnerability in ActiveSupport::JSON.encode","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.debian.org/security/2016/dsa-3464","name":"DSA-3464","tags":["vendor-advisory","x_refsource_DEBIAN"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2017-09-15T09:57:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2015-06-16T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2015-3226","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 json/encoding.rb in Active Support in Ruby on Rails 3.x and 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted Hash that is mishandled during JSON encoding."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"1033755","refsource":"SECTRACK","url":"http://www.securitytracker.com/id/1033755"},{"name":"[rubyonrails-security] 20150616 [CVE-2015-3226] XSS Vulnerability in ActiveSupport::JSON.encode","refsource":"MLIST","url":"https://groups.google.com/forum/message/raw?msg=rubyonrails-security/7VlB_pck3hU/3QZrGIaQW6cJ"},{"name":"75231","refsource":"BID","url":"http://www.securityfocus.com/bid/75231"},{"name":"[oss-security] 20150616 [CVE-2015-3226] XSS Vulnerability in ActiveSupport::JSON.encode","refsource":"MLIST","url":"http://openwall.com/lists/oss-security/2015/06/16/17"},{"name":"DSA-3464","refsource":"DEBIAN","url":"http://www.debian.org/security/2016/dsa-3464"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.securitytracker.com/id/1033755","name":"1033755","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"https://groups.google.com/forum/message/raw?msg=rubyonrails-security/7VlB_pck3hU/3QZrGIaQW6cJ","name":"[rubyonrails-security] 20150616 [CVE-2015-3226] XSS Vulnerability in ActiveSupport::JSON.encode","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.securityfocus.com/bid/75231","name":"75231","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://openwall.com/lists/oss-security/2015/06/16/17","name":"[oss-security] 20150616 [CVE-2015-3226] XSS Vulnerability in ActiveSupport::JSON.encode","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.debian.org/security/2016/dsa-3464","name":"DSA-3464","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T05:39:32.141Z"}}]}}}