What’s Vulnerable › Vulnerabilities

CVE-2020-25739

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.

Affected products

How to fix

Upgrade to a fixed version: Gon Project Gon 6.4.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2020-25739 or the next vulnerability affects your stack