In short
- CVE-2020-25739 is a MEDIUM (CVSS 6.1) vulnerability affecting gon, gon (gon project).
- Chance of exploitation in the next 30 days (EPSS): 1.4%, higher than 72.2% of all vulnerabilities.
- Fix: update to 6.4.0 or later.
| Package | Affected versions | Patched versions |
|---|
| gon RubyGems | < 6.4.0
| 6.4.0
|
| gon | < 6.4.0
| 6.4.0
|
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.
NVD 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free