{"id":"CVE-2020-25739","state":"PUBLISHED","title":"An issue was discovered in the gon gem before gon-6.4.0 for Ruby. MultiJson does not honor the escape_mode parameter to escape fields as an XSS protection mechanism. To mitigate, j","description":"An issue was discovered in the gon gem before gon-6.4.0 for Ruby. MultiJson does not honor the escape_mode parameter to escape fields as an XSS protection mechanism. To mitigate, json_dumper.rb in gon now does escaping for XSS by default without relying on MultiJson.","publishedAt":"2020-09-23T13:53:14.000Z","updatedAt":"2024-08-04T15:40:36.985Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/gazay/gon/commit/fe3c7b2191a992386dc9edd37de5447a4e809bc7","https://lists.debian.org/debian-lts-announce/2020/09/msg00018.html","https://usn.ubuntu.com/4560-1/"],"weaknesses":[],"ingestedAt":"2026-10-29T19:47:05.429Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/25xxx/CVE-2020-25739.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-25739","state":"PUBLISHED","datePublished":"2020-09-23T13:53:14.000Z","dateUpdated":"2024-08-04T15:40:36.985Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2020-09-17T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"An issue was discovered in the gon gem before gon-6.4.0 for Ruby. MultiJson does not honor the escape_mode parameter to escape fields as an XSS protection mechanism. To mitigate, json_dumper.rb in gon now does escaping for XSS by default without relying on MultiJson."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/gazay/gon/commit/fe3c7b2191a992386dc9edd37de5447a4e809bc7","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/09/msg00018.html","name":"[debian-lts-announce] 20200926 [SECURITY] [DLA 2380-1] ruby-gon security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://usn.ubuntu.com/4560-1/","name":"USN-4560-1","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2020-10-05T22:06:21.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2020-09-18T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2020-25739","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":"An issue was discovered in the gon gem before gon-6.4.0 for Ruby. MultiJson does not honor the escape_mode parameter to escape fields as an XSS protection mechanism. To mitigate, json_dumper.rb in gon now does escaping for XSS by default without relying on MultiJson."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/gazay/gon/commit/fe3c7b2191a992386dc9edd37de5447a4e809bc7","refsource":"CONFIRM","url":"https://github.com/gazay/gon/commit/fe3c7b2191a992386dc9edd37de5447a4e809bc7"},{"name":"[debian-lts-announce] 20200926 [SECURITY] [DLA 2380-1] ruby-gon security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2020/09/msg00018.html"},{"name":"USN-4560-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/4560-1/"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/gazay/gon/commit/fe3c7b2191a992386dc9edd37de5447a4e809bc7","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/09/msg00018.html","name":"[debian-lts-announce] 20200926 [SECURITY] [DLA 2380-1] ruby-gon security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://usn.ubuntu.com/4560-1/","name":"USN-4560-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T15:40:36.985Z"}}]}}}