{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-1285","id":"CVE-2022-1285","title":"Server-Side Request Forgery (SSRF) in gogs/gogs","description":"Server-Side Request Forgery (SSRF) in GitHub repository gogs/gogs prior to 0.12.8.","descriptionLong":"Server-Side Request Forgery (SSRF) in GitHub repository gogs/gogs prior to 0.12.8.","published":"2022-06-01T05:55:10.000Z","updated":"2026-10-28T02:31:03.157787491Z","reserved":"2022-04-09T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"@huntrdev","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.0","score":8.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","rating":"high","source":"@huntrdev"},{"version":"3.0","score":8.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","rating":"high","source":"huntr.dev"},{"version":"3.0","score":8.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","rating":"high","source":"OSV"},{"version":"3.0","score":8.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","rating":"high","source":"GitHub"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["gogs/gogs"],"affectedProducts":[{"vendor":"gogs","product":"gogs/gogs","defaultStatus":null,"versions":[{"lessThan":"0.12.8","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":["<0.12.8"],"fixed":["0.12.8"],"advisory":"GHSA-w689-557m-2cvq"}],"cwes":["CWE-918"],"aliases":["GHSA-w689-557m-2cvq","GO-2022-0583"],"references":[{"url":"https://huntr.dev/bounties/da1fbd6e-7a02-458e-9c2e-6d226c47046d","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Third Party Advisory","web"]},{"url":"https://github.com/gogs/gogs/commit/7885f454a4946c4bbec1b4f8c603b5eea7429c7f","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1285.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1285","tags":["advisory"]},{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-w689-557m-2cvq","tags":["web","advisory"]},{"url":"https://github.com/gogs/gogs","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01121,"epssPercentile":0.66833,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-1285","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1285","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-1285","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-w689-557m-2cvq","ok":true,"note":"GHSA-w689-557m-2cvq"},{"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-2022-1285","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}