diff --git a/advisories/github-reviewed/2021/04/GHSA-78vq-9j56-wrfr/GHSA-78vq-9j56-wrfr.json b/advisories/github-reviewed/2021/04/GHSA-78vq-9j56-wrfr/GHSA-78vq-9j56-wrfr.json index 5d1660d6120..e244ab959d0 100644 --- a/advisories/github-reviewed/2021/04/GHSA-78vq-9j56-wrfr/GHSA-78vq-9j56-wrfr.json +++ b/advisories/github-reviewed/2021/04/GHSA-78vq-9j56-wrfr/GHSA-78vq-9j56-wrfr.json @@ -1,12 +1,12 @@ { "schema_version": "1.4.0", "id": "GHSA-78vq-9j56-wrfr", - "modified": "2023-01-26T22:33:51Z", + "modified": "2023-08-29T12:13:04Z", "published": "2021-04-30T17:29:15Z", "aliases": [ "CVE-2020-25739" ], - "summary": "Cross-site Scripting in gon", + "summary": "Gon gem lack of escaping certain input when outputting as JSON", "details": "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.", "severity": [ { @@ -20,6 +20,11 @@ "ecosystem": "RubyGems", "name": "gon" }, + "ecosystem_specific": { + "affected_functions": [ + "" + ] + }, "ranges": [ { "type": "ECOSYSTEM", @@ -48,6 +53,10 @@ "type": "PACKAGE", "url": "https://github.com/gazay/gon" }, + { + "type": "WEB", + "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/gon/CVE-2020-25739.yml" + }, { "type": "WEB", "url": "https://lists.debian.org/debian-lts-announce/2020/09/msg00018.html"