In pkg/tool/path.go in Gogs before 0.11.82.1218, a directory traversal in the file-upload functionality can allow an attacker to create a file under data/sessions on the server, a similar issue to CVE-2018-18925.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20303.json"
[ { "events": [ { "introduced": "0" }, { "fixed": "0.11.82.1218" } ] }, { "events": [ { "introduced": "0" }, { "fixed": "0.11.82.1218" } ] } ]