{"id":"CVE-2022-32174","aliases":["CVE-2022-32174","GHSA-mcjj-2fvq-mc3r","GO-2022-1060"],"related":[],"kind":"vulnerability","state":"published","title":"Gogs - XSS","summary":"In Gogs, versions v0.6.5 through v0.12.10 are vulnerable to Stored Cross-Site Scripting (XSS) that leads to an account takeover.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In Gogs, versions v0.6.5 through v0.12.10 are vulnerable to Stored Cross-Site Scripting (XSS) that leads to an account takeover.","source":"cvelist"},{"lang":"en","text":"Gogs vulnerable to Cross-site Scripting in gogs.io/gogs","format":"markdown","source":"go"},{"lang":"es","text":"En Gogs, las versiones v0.6.5 hasta v0.12.10, son vulnerables a un ataque de tipo Cross-Site Scripting (XSS) Almacenado que conlleva una toma de control de la cuenta","source":"nvd"}],"published":"2022-10-11T14:20:16.527Z","modified":"2026-06-17T04:46:48.870Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9,"rating":"CRITICAL"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"v0.6.5","fixed":"unspecified","status":"affected"},{"type":"custom","introduced":"unspecified","lastAffected":"v0.12.10","status":"affected"}],"vendor":"gogs","product":"gogs","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.6.5","status":"affected","lastAffected":"0.12.10"}],"ecosystem":"Go","package":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.6.5","status":"affected"}],"ecosystem":"Go","package":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","source":"go"},{"ranges":[{"status":"affected","introduced":"0.6.5","lastAffected":"0.12.10"}],"vendor":"gogs","product":"gogs","cpe":"cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.mend.io/vulnerability-database/CVE-2022-32174","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/gogs/gogs/blob/v0.12.10/public/js/gogs.js#L263","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32174","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/gogs/gogs","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2022-1060","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-mcjj-2fvq-mc3r","tags":["advisory"],"sources":["go"]}],"credits":["Mend Vulnerability Research Team (MVR)"],"assigner":"Mend","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-05-16T13:48:52.683Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-32174","url":"https://www.cve.org/CVERecord?id=CVE-2022-32174","licence":"CVE Terms of Use","modified":"2025-05-16T13:49:17.944Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mcjj-2fvq-mc3r","url":"https://github.com/advisories/GHSA-mcjj-2fvq-mc3r","licence":"CC-BY-4.0","modified":"2025-05-28T19:49:01.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-1060","url":"https://pkg.go.dev/vuln/GO-2022-1060","licence":"CC-BY-4.0","modified":"2026-03-03T04:52:40.669Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-32174","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32174","licence":"Public domain","modified":"2026-06-17T04:46:48.870Z"}],"updatedAt":"2026-11-25T22:58:15.526Z","epss":{"score":0.58246,"percentile":0.99108,"date":"2026-12-01T12:00:22.000Z"}}