CVE-2026-26022 HIGH

CVE-2026-26022: Gogs: Stored XSS via data URI in issue comments

Vendor Gogs
Product gogs
Weakness CWE-79 · XSS
Published March 5, 2026
Last update March 10, 2026

CVSS base score

8.7/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction Required
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 5, 2026 CVE published
March 10, 2026 Record updated

Related vulnerabilities

04Related CVE