CWE
79
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2020-25739: XSS

First published: Wed Sep 23 2020(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
rubygems/gon<6.4.0
6.4.0
debian/ruby-gon
6.4.0-1
6.4.0-2
ubuntu/ruby-gon<6.1.0-1+
6.1.0-1+
gon project gon Ruby<6.4.0
Ubuntu Linux=18.04
Debian GNU/Linux=9.0
Gon Project Gon<6.4.0
Ubuntu=18.04
Debian=9.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2020-25739?

    CVE-2020-25739 is classified as a medium severity vulnerability due to its potential for XSS attacks.

  • How do I fix CVE-2020-25739?

    To fix CVE-2020-25739, upgrade the gon gem to version 6.4.0 or later.

  • Which versions of the gon gem are affected by CVE-2020-25739?

    Versions of the gon gem prior to 6.4.0 are affected by CVE-2020-25739.

  • Is CVE-2020-25739 applicable to Debian packages?

    Yes, versions of ruby-gon prior to 6.4.0-1 and 6.4.0-2 are vulnerable to CVE-2020-25739.

  • What types of systems are affected by CVE-2020-25739?

    CVE-2020-25739 affects systems using the gon gem in Ruby applications, including Debian and Ubuntu installations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203