{"id":"CVE-2020-25739","published":"2020-09-23T13:53:14Z","modified":"2024-08-04T15:40:36Z","title":"An issue was discovered in the gon gem before gon-6.4.0 for Ruby","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01376,"percentile":0.72719,"provenance":"source"},"cwes":[],"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","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://usn.ubuntu.com/4560-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":14.54}]},"affected":[{"ecosystem":"RubyGems","package":"gon","vulnerableRanges":["<6.4.0"],"patched":["6.4.0"],"from":["GHSA-78vq-9j56-wrfr"],"provenance":"source"}],"summary":{"text":"The gon Ruby gem, before version 6.4.0, has a cross-site scripting protection weakness: it relies on MultiJson, which does not honor the escape_mode parameter, so fields are not escaped as intended. The fix in gon 6.4.0 has json_dumper.rb perform XSS escaping by default instead of depending on MultiJson.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:06Z"},"euvd":{"id":"EUVD-2021-0786","exploited":false,"provenance":"source"}}