What’s Vulnerable › Vulnerabilities

CVE-2026-26022: 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.

Affected products

How to fix

Upgrade to a fixed version: gogs 0.14.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-26022 or the next vulnerability affects your stack