ADVISORIES

Vulnerability

CVE-2020-25739

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.

5 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 2Ubuntu 2RubyGems 1

Advisories

  • DEBIAN-CVE-2020-25739

    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…

    CVE-2020-25739 Debian Updated 26 October 2026
  • DLA-2380-1

    ruby-gon - security update

    CVE-2020-25739 Debian Updated 20 November 2026
  • GHSA-78vq-9j56-wrfr

    Gon gem lack of escaping certain input when outputting as JSON

    Moderate CVE-2020-25739 RubyGems Updated 19 February 2024
  • UBUNTU-CVE-2020-25739

    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…

    CVE-2020-25739 Ubuntu Updated 4 February 2026
  • USN-4560-1

    ruby-gon vulnerability

    CVE-2020-25739 Ubuntu Updated 27 April 2026

References