{"cve":"CVE-2022-32174","nvd":{"published":"2022-10-11T15:15:09.837","modified":"2026-06-17T04:46:48.870","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9.0},"cwes":["CWE-79"],"references":["https://github.com/gogs/gogs/blob/v0.12.10/public/js/gogs.js#L263","https://www.mend.io/vulnerability-database/CVE-2022-32174","https://github.com/gogs/gogs/blob/v0.12.10/public/js/gogs.js#L263","https://www.mend.io/vulnerability-database/CVE-2022-32174"],"products":["gogs:gogs"],"source":"nvd","synced_at":"2026-10-19T21:36:05.460296998+00:00"},"epss":{"cve":"CVE-2022-32174","score":0.58246,"percentile":0.99094,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-mcjj-2fvq-mc3r","url":"https://osv.dev/vulnerability/GHSA-mcjj-2fvq-mc3r","summary":"Gogs vulnerable to Cross-site Scripting","modified":"2025-05-28T19:49:01Z","packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":[">=0.6.5 <=0.12.10"],"fixed":[]}]},{"id":"GO-2022-1060","url":"https://osv.dev/vulnerability/GO-2022-1060","summary":"Gogs vulnerable to Cross-site Scripting in gogs.io/gogs","modified":"2026-03-03T04:52:40.669737Z","packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":[">=0.6.5"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}