{"id":"CVE-2020-25739","aliases":["GHSA-78vq-9j56-wrfr"],"url":"https://o3.security/vulnerability/CVE-2020-25739","summary":"Gon gem lack of escaping certain input when outputting as JSON","details":"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.","published":"2020-09-23T14:15:12.947Z","modified":"2026-07-08T05:59:56.059381985Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"RubyGems","name":"gon","fixedVersion":"6.4.0"}],"fix":{"url":"https://github.com/gazay/gon/commit/fe3c7b2191a992386dc9edd37de5447a4e809bc7","label":"gazay/gon@fe3c7b2"},"references":[{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2020/09/msg00018.html"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4560-1/"},{"type":"FIX","url":"https://github.com/gazay/gon/commit/fe3c7b2191a992386dc9edd37de5447a4e809bc7"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T05:59:56.059381985Z"}}