{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-32174","id":"CVE-2022-32174","title":"Gogs - XSS","description":"In Gogs, versions v0.6.5 through v0.12.10 are vulnerable to Stored Cross-Site Scripting (XSS) that leads to an account takeover.","descriptionLong":"In Gogs, versions v0.6.5 through v0.12.10 are vulnerable to Stored Cross-Site Scripting (XSS) that leads to an account takeover.","published":"2022-10-11T14:20:16.527Z","updated":"2026-10-28T02:31:10.920800786Z","reserved":"2022-05-31T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"Mend","metric":{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["gogs"],"affectedProducts":[{"vendor":"gogs","product":"gogs","defaultStatus":null,"versions":[{"version":"v0.6.5","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","lessThanOrEqual":"v0.12.10","status":"affected","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":[">=0.6.5 <=0.12.10",">=0.6.5"],"fixed":[],"advisory":"GHSA-mcjj-2fvq-mc3r"}],"cwes":["CWE-79"],"aliases":["GHSA-mcjj-2fvq-mc3r","GO-2022-1060"],"references":[{"url":"https://www.mend.io/vulnerability-database/CVE-2022-32174","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/gogs/gogs/blob/v0.12.10/public/js/gogs.js#L263","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32174.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32174","tags":["advisory"]},{"url":"https://github.com/gogs/gogs","tags":["package"]},{"url":"https://pkg.go.dev/vuln/GO-2022-1060","tags":["web"]},{"url":"https://github.com/advisories/GHSA-mcjj-2fvq-mc3r","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.58246,"epssPercentile":0.99112,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-32174","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32174","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-32174","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mcjj-2fvq-mc3r","ok":true,"note":"GHSA-mcjj-2fvq-mc3r"},{"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-32174","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":["EPSS 58% with CVSS 9.0"],"attention":null}