CVE-2020-25739Published Sep 23, 2020 · Sep 23Updated Oct 20
Gon gem lack of escaping certain input when outputting as JSON
Medium6.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| gon RubyGems |
|
|
Original 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.
From the CVE record · mitre