{"id":"CVE-2026-26022","state":"PUBLISHED","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.","publishedAt":"2026-03-05T18:34:12.843Z","updatedAt":"2026-03-10T03:55:24.998Z","severity":{"score":8.7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["gogs gogs"],"affected":[{"vendor":"gogs","product":"gogs","versions":[{"version":"< 0.14.2","status":"affected"}]}],"references":["https://github.com/gogs/gogs/security/advisories/GHSA-xrcr-gmf5-2r8j","https://github.com/gogs/gogs/pull/8174","https://github.com/gogs/gogs/commit/441c64d7bd8893b2f4e48660a8be3a7472e14291","https://github.com/gogs/gogs/releases/tag/v0.14.2"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/26xxx/CVE-2026-26022.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-26022","state":"PUBLISHED","datePublished":"2026-03-05T18:34:12.843Z","dateUpdated":"2026-03-10T03:55:24.998Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-02-09T21:36:29.555Z"},"containers":{"cna":{"title":"Gogs: Stored XSS via data URI in issue comments","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"gogs","product":"gogs","versions":[{"version":"< 0.14.2","status":"affected"}]}],"references":[{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-xrcr-gmf5-2r8j","name":"https://github.com/gogs/gogs/security/advisories/GHSA-xrcr-gmf5-2r8j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gogs/gogs/pull/8174","name":"https://github.com/gogs/gogs/pull/8174","tags":["x_refsource_MISC"]},{"url":"https://github.com/gogs/gogs/commit/441c64d7bd8893b2f4e48660a8be3a7472e14291","name":"https://github.com/gogs/gogs/commit/441c64d7bd8893b2f4e48660a8be3a7472e14291","tags":["x_refsource_MISC"]},{"url":"https://github.com/gogs/gogs/releases/tag/v0.14.2","name":"https://github.com/gogs/gogs/releases/tag/v0.14.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-05T18:34:12.843Z"},"source":{"advisory":"GHSA-xrcr-gmf5-2r8j","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-06T00:00:00+00:00","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2026-26022"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-10T03:55:24.998Z"}}]}}}