XSS in Gon Project
CVE-2020-25739
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.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.014 (69.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
Affected products
- Gon_project Gon
- Canonical Ubuntu_linux — versions 18.04
- Debian Debian_linux — versions 9.0
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (x_refsource_CONFIRM, Patch, Third Party Advisory)
- cve@mitre.org (mailing-list, x_refsource_MLIST, Mailing List, Third Party Advisory)
- cve@mitre.org (x_refsource_UBUNTU, vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2020-25739?
- CVE-2020-25739 is a medium-severity vulnerability in Gon Project, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2020-09-23.
- How severe is CVE-2020-25739?
- Medium severity. CVSS v3 base score is 6.1 out of 10.