CVE-2026-26022
Gogs is an open source self-hosted Git service. Prior to version …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/gogs/gogs/commit/441c64d7bd8893b2f4e48660a8be3a7472e14291
- github.com/gogs/gogs/pull/8174
- github.com/gogs/gogs/releases/tag/v0.14.2
- github.com/gogs/gogs/security/advisories/GHSA-xrcr-gmf5-2r8j
- nvd.nist.gov/vuln/detail/CVE-2026-26022
- github.com/advisories/GHSA-xrcr-gmf5-2r8j
- nvd.nist.gov/vuln/detail/CVE-2026-26022
- cve.org/CVERecord?id=CVE-2026-26022
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.