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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2020-09-23T13:53:14

Updated: 2024-08-04T15:40:36.985Z

Reserved: 2020-09-17T00:00:00

Link: CVE-2020-25739

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2020-09-23T14:15:12.947

Modified: 2023-01-31T21:14:45.767

Link: CVE-2020-25739

cve-icon Redhat

No data.