{"id":"CVE-2022-32174","aliases":["ALPINE-CVE-2022-32174","EUVD-2022-7125","GHSA-mcjj-2fvq-mc3r","GO-2022-1060"],"status":"published","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.","severity":{"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","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.58246,"percentile":0.99099,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2022-10-11T14:20:16Z","modified":"2026-11-03T07:31:17Z","fixes":[{"ecosystem":"Alpine:v3.18","package":"gogs","fixed_in":["0.13.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"gogs","fixed_in":["0.13.0-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"gogs","fixed_in":["0.13.0-r0"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"gogs.io/gogs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.6.5"},{"last_affected":"0.12.10"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"gogs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.6.5"},{"fixed":"0.13.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"gogs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.6.5"},{"fixed":"0.13.0-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"gogs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.6.5"},{"fixed":"0.13.0-r0"}]}]},{"source":"osv","ecosystem":"Go","package":"gogs.io/gogs","ranges":[{"type":"SEMVER","events":[{"introduced":"0.6.5"},{"last_affected":"0.12.10"}]}]},{"source":"osv","ecosystem":"Go","package":"gogs.io/gogs","ranges":[{"type":"SEMVER","events":[{"introduced":"0.6.5"}]}]}],"products":[{"vendor":"gogs","product":"gogs"}],"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://nvd.nist.gov/vuln/detail/CVE-2022-32174","tags":["advisory"]},{"url":"https://pkg.go.dev/vuln/GO-2022-1060","tags":["web"]},{"url":"https://github.com/advisories/GHSA-mcjj-2fvq-mc3r","tags":["advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-32174","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32174.json","tags":["advisory"]},{"url":"https://github.com/gogs/gogs","tags":["package"]}],"sources":{"cve":[{"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.","status":"published","published":"2022-10-11T14:20:16.527Z","modified":"2025-05-16T13:49:17.944Z","cvss":[{"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","level":"critical","assessor":"adp"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:36.917505Z"}],"euvd":[{"id":"EUVD-2022-7125","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.","status":"published","published":"2022-10-11T14:20:16Z","modified":"2025-05-16T13:49:17Z","cvss":[{"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","level":"critical"}],"updated_at":"2026-11-02T20:32:45.606938Z"}],"ghsa":[{"id":"GHSA-mcjj-2fvq-mc3r","title":"Gogs vulnerable to Cross-site Scripting","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.","status":"published","published":"2022-10-11T19:00:29Z","modified":"2025-05-28T19:49:02Z","cvss":[{"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","level":"critical"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:38:44.991725Z"}],"nvd":[{"id":"CVE-2022-32174","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.","status":"published","published":"2022-10-11T15:15:09.837Z","modified":"2026-06-17T04:46:48.87Z","cvss":[{"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","level":"critical","assessor":"primary"},{"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","level":"critical","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:29.026521Z"}],"osv":[{"id":"ALPINE-CVE-2022-32174","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.","status":"published","published":"2022-10-11T15:15:09.837Z","modified":"2026-11-03T07:31:17.085160539Z","cvss":[{"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","level":"critical"}],"updated_at":"2026-11-03T07:50:01.054176Z"},{"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.","status":"published","published":"2022-10-11T14:20:16.527Z","modified":"2026-10-28T02:31:10.920800786Z","cvss":[{"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","level":"critical"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:25.860945Z"},{"id":"GHSA-mcjj-2fvq-mc3r","title":"Gogs vulnerable to Cross-site Scripting","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.","status":"published","published":"2022-10-11T19:00:29Z","modified":"2025-05-28T19:49:01Z","cvss":[{"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","level":"critical"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:51.811331Z"},{"id":"GO-2022-1060","title":"Gogs vulnerable to Cross-site Scripting in gogs.io/gogs","description":"Gogs vulnerable to Cross-site Scripting in gogs.io/gogs","status":"published","published":"2024-08-21T16:03:24Z","modified":"2026-03-03T04:52:40.669737Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
