{"id":"CVE-2022-32174","summary":"Gogs - XSS","details":"In Gogs, versions v0.6.5 through v0.12.10 are vulnerable to Stored Cross-Site Scripting (XSS) that leads to an account takeover.","aliases":["GHSA-mcjj-2fvq-mc3r","GO-2022-1060"],"modified":"2026-08-12T03:51:48.098410769Z","published":"2022-10-11T14:20:16.527Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32174.json","cna_assigner":"Mend","cwe_ids":["CWE-79"]},"references":[{"type":"WEB","url":"https://github.com/gogs/gogs/blob/v0.12.10/public/js/gogs.js#L263"},{"type":"WEB","url":"https://www.mend.io/vulnerability-database/CVE-2022-32174"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32174.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32174"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gogs/gogs","events":[{"introduced":"21d1d2905d42b9c1f911ab95188e774062907499"},{"last_affected":"1ce5171ae170750298c150874e718740dd7ef69f"}],"database_specific":{"extracted_events":[{"introduced":"0.6.5"},{"last_affected":"0.12.10"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*"}}],"versions":["v0.6.5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-32174.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"}]}