High severity8.7NVD Advisory· Published Mar 5, 2026· Updated Jun 17, 2026
CVE-2026-26022
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
5- ghsa-coords3 versionspkg:golang/gogs.io/gogspkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2016.0
< 0.14.2+ 2 more
- (no CPE)range: < 0.14.2
- (no CPE)range: < 0.0.20260317T205859-150000.1.152.1
- (no CPE)range: < 0.0.20260723T184607-160000.1.1
Patches
Vulnerability mechanics
References
6- github.com/gogs/gogs/commit/441c64d7bd8893b2f4e48660a8be3a7472e14291nvdPatchWEB
- github.com/gogs/gogs/security/advisories/GHSA-xrcr-gmf5-2r8jnvdExploitVendor AdvisoryWEB
- github.com/advisories/GHSA-xrcr-gmf5-2r8jghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-26022ghsaADVISORY
- github.com/gogs/gogs/pull/8174nvdIssue TrackingWEB
- github.com/gogs/gogs/releases/tag/v0.14.2nvdRelease NotesWEB
News mentions
0No linked articles in our index yet.