{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-26022","id":"CVE-2026-26022","title":"Gogs: Stored XSS via data URI in issue comments","description":"Gogs is an open source self-hosted Git service. Prior to version 0.14.2, a stored cross-site scripting (XSS) vulnerability exists in the comment and issue description functionality. The application's HTML sanitizer explicitly allows data: URI schemes, enabling authenticated users to inject arbitrary JavaScript execution via malicious links. This issue has been patched in version 0.14.2.","descriptionLong":"Gogs is an open source self-hosted Git service. Prior to version 0.14.2, a stored cross-site scripting (XSS) vulnerability exists in the comment and issue description functionality. The application's HTML sanitizer explicitly allows data: URI schemes, enabling authenticated users to inject arbitrary JavaScript execution via malicious links. This issue has been patched in version 0.14.2.","published":"2026-03-05T18:34:12.843Z","updated":"2026-10-28T02:31:14.386146026Z","reserved":"2026-02-09T21:36:29.555Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["gogs"],"affectedProducts":[{"vendor":"gogs","product":"gogs","defaultStatus":null,"versions":[{"version":"< 0.14.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":["<0.14.2","all versions"],"fixed":["0.14.2"],"advisory":"GHSA-xrcr-gmf5-2r8j"}],"cwes":["CWE-79"],"aliases":["GHSA-xrcr-gmf5-2r8j","GO-2026-4620"],"references":[{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-xrcr-gmf5-2r8j","tags":["x_refsource_CONFIRM","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/gogs/gogs/pull/8174","tags":["x_refsource_MISC","Issue Tracking","fix","web"]},{"url":"https://github.com/gogs/gogs/commit/441c64d7bd8893b2f4e48660a8be3a7472e14291","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/gogs/gogs/releases/tag/v0.14.2","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26022.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26022","tags":["advisory"]},{"url":"https://github.com/gogs/gogs","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00354,"epssPercentile":0.29739,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-26022","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26022","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-26022","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xrcr-gmf5-2r8j","ok":true,"note":"GHSA-xrcr-gmf5-2r8j"},{"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-2026-26022","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}