CVE-2020-25739
MEDIUMgon < 6.4.0 - Cross-Site Scripting via MultiJson Escape Mode Bypass
Title source: llmDescription
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.
References (3)
Core 3
Core References
Patch, Third Party Advisory x_refsource_confirm
https://github.com/gazay/gon/commit/fe3c7b2191a992386dc9edd37de5447a4e809bc7
Mailing List, Third Party Advisory mailing-list
x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2020/09/msg00018.html
Third Party Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/4560-1/
Scores
CVSS v3
6.1
EPSS
0.0061
EPSS Percentile
69.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Details
CWE
CWE-79
Status
published
Products (4)
canonical/ubuntu_linux
18.04
debian/debian_linux
9.0
gon_project/gon
< 6.4.0
rubygems/gon
0 - 6.4.0RubyGems
Published
Sep 23, 2020
Tracked Since
Feb 18, 2026