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.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-2380-1 | ruby-gon security update |
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 |
GHSA-78vq-9j56-wrfr | Gon gem lack of escaping certain input when outputting as JSON |
Ubuntu USN |
USN-4560-1 | Gon gem vulnerability |
References
History
No history.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-04T15:40:36.985Z
Reserved: 2020-09-17T00:00:00.000Z
Link: CVE-2020-25739
No data.
Status : Modified
Published: 2020-09-23T14:15:12.947
Modified: 2024-11-21T05:18:37.593
Link: CVE-2020-25739
No data.
OpenCVE Enrichment
No data.
Weaknesses
Debian DLA
EUVD
Github GHSA
Ubuntu USN