High severityNVD Advisory· Published Mar 5, 2026· Updated Mar 10, 2026
Gogs: Stored XSS via data URI in issue comments
CVE-2026-26022
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
gogs.io/gogsGo | < 0.14.2 | 0.14.2 |
Affected products
3- ghsa-coords2 versions
< 0.14.2+ 1 more
- (no CPE)range: < 0.14.2
- (no CPE)range: < 0.0.20260317T205859-150000.1.152.1
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-xrcr-gmf5-2r8jghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-26022ghsaADVISORY
- github.com/gogs/gogs/commit/441c64d7bd8893b2f4e48660a8be3a7472e14291ghsax_refsource_MISCWEB
- github.com/gogs/gogs/pull/8174ghsax_refsource_MISCWEB
- github.com/gogs/gogs/releases/tag/v0.14.2ghsax_refsource_MISCWEB
- github.com/gogs/gogs/security/advisories/GHSA-xrcr-gmf5-2r8jghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.