{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-35305","id":"CVE-2020-35305","title":"Gollum Cross-site Scripting vulnerability via filename parameter to New Page dialog","description":"Cross site scripting (XSS) in gollum 5.0 to 5.1.2 via the filename parameter to the 'New Page' dialog.","descriptionLong":"Cross site scripting (XSS) in gollum 5.0 to 5.1.2 via the filename parameter to the 'New Page' dialog.","published":"2022-07-15T13:40:53.000Z","updated":"2026-10-20T10:54:20.041771828Z","reserved":"2020-12-14T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"gollum","purl":"pkg:gem/gollum","ranges":[">=5.0 <5.1.2"],"fixed":["5.1.2"],"advisory":"GHSA-fj2w-qmjp-3rjm"}],"cwes":["CWE-79"],"aliases":["GHSA-fj2w-qmjp-3rjm"],"references":[{"url":"https://github.com/Szarny/","tags":["x_refsource_MISC","x_transferred","Not Applicable","web"]},{"url":"https://github.com/gollum/","tags":["x_refsource_MISC","x_transferred","Product","Third Party Advisory","advisory"]},{"url":"https://github.com/gollum/gollum/releases/tag/v5.1.2","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35305","tags":["advisory"]},{"url":"https://github.com/gollum/gollum/commit/137728cdabc0f60859fcd30404ad2b8fff6ef715","tags":["web"]},{"url":"https://github.com/Szarny","tags":["web"]},{"url":"https://github.com/gollum","tags":["web"]},{"url":"https://github.com/gollum/gollum","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/gollum/CVE-2020-35305.yml","tags":["web"]},{"url":"http://gollum.com","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0081,"epssPercentile":0.57676,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-35305","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35305","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-35305","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-fj2w-qmjp-3rjm","ok":true,"note":"GHSA-fj2w-qmjp-3rjm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-35305","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}