{"id":"CVE-2026-26022","published":"2026-03-05T18:34:12Z","modified":"2026-03-10T03:55:24Z","title":"Gogs: Stored XSS via data URI in issue comments","vendor":"gogs","product":"gogs","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00354,"percentile":0.29879,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-xrcr-gmf5-2r8j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gogs/gogs/pull/8174","tags":["x_refsource_MISC"]},{"url":"https://github.com/gogs/gogs/commit/441c64d7bd8893b2f4e48660a8be3a7472e14291","tags":["x_refsource_MISC"]},{"url":"https://github.com/gogs/gogs/releases/tag/v0.14.2","tags":["x_refsource_MISC"]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":5.98},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"gogs","affectedVersions":[{"vendor":"gogs","product":"gogs","versions":["< 0.14.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-03-06T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"gogs.io/gogs","vulnerableRanges":["<0.14.2","all versions"],"patched":["0.14.2"],"from":["GHSA-xrcr-gmf5-2r8j","GO-2026-4620"],"provenance":"source"}],"summary":{"text":"Gogs, the self-hosted Git service, contains a stored cross-site scripting flaw in its comment and issue description functionality, where the HTML sanitizer explicitly allows data: URI schemes. An authenticated user who gets a victim to interact with a malicious link in a comment or issue description (requiring user interaction) can execute arbitrary JavaScript in the victim's browser.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:52:16Z"},"euvd":{"id":"EUVD-2026-9851","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-25232","published":"2026-02-19","fixed":"0.14.1","kev":false,"link":{"from":"CVE-2026-25232","to":"CVE-2026-26022","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:gogs.io/gogs","fromFixed":"0.14.1","toFixed":"0.14.2","daysApart":14}]}},{"cve":"CVE-2026-25242","published":"2026-02-19","fixed":"0.14.1","kev":false},{"cve":"CVE-2026-25921","published":"2026-03-05","fixed":"0.14.2","kev":false},{"cve":"CVE-2026-26022","published":"2026-03-05","fixed":"0.14.2","kev":false},{"cve":"CVE-2026-26194","published":"2026-03-05","fixed":"0.14.2","kev":false},{"cve":"CVE-2025-64719","published":"2026-06-24","fixed":"0.14.3","kev":false},{"cve":"CVE-2026-25119","published":"2026-06-24","fixed":"0.14.3","kev":false}],"package":"Go:gogs.io/gogs"}}