CVE-2020-25739

Published Sep 23, 2020 CVSS 3.1 · 6.1 Medium EPSS 1.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2380-1 ruby-gon security update
EUVD EUVD EUVD-2021-0786 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.
Github GHSA Github GHSA GHSA-78vq-9j56-wrfr Gon gem lack of escaping certain input when outputting as JSON
Ubuntu USN Ubuntu USN USN-4560-1 Gon gem vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 3:40 PM
Reserved
Sep 17, 2020, 12:00 AM
Status
Modified
Published
Sep 23, 2020, 2:15 PM
Modified
Jun 17, 2026, 3:07 AM