# CVE-2020-25739: ruby-gon: An issue was discovered in the gon gem before gon-6.4.0 for Ruby

CVE-2020-25739 is fixed in ruby-gon on 1 platform by ruby-gon 6.1.0-1+deb9u1build0.18.04.1 (version 6.1.0-1+deb9u1build0.18.04.1), released September 23, 2020. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2020-25739
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0138
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 23, 2020

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ruby-gon Ubuntu 18.04.6 LTS (bionic) | 6.1.0-1+deb9u1build0.18.04.1 | [ruby-gon 6.1.0-1+deb9u1build0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ruby-gon-6.1.0-1-deb9u1build0.18.04.1.md) | Sep 23, 2020 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
