Medium severity6.1NVD Advisory· Published Sep 23, 2020· Updated Jun 17, 2026
CVE-2020-25739
CVE-2020-25739
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
gonRubyGems | < 6.4.0 | 6.4.0 |
Affected products
5- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
- gon gem/gondescription
Patches
Vulnerability mechanics
References
7- github.com/gazay/gon/commit/fe3c7b2191a992386dc9edd37de5447a4e809bc7nvdPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-78vq-9j56-wrfrghsaADVISORY
- lists.debian.org/debian-lts-announce/2020/09/msg00018.htmlnvdMailing ListThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2020-25739ghsaADVISORY
- usn.ubuntu.com/4560-1/nvdThird Party Advisory
- github.com/rubysec/ruby-advisory-db/blob/master/gems/gon/CVE-2020-25739.ymlghsaWEB
- usn.ubuntu.com/4560-1ghsaWEB
News mentions
0No linked articles in our index yet.