CVE-2026-26022CWE-79

Gogs: Stored XSS via data URI in issue comments

High · published March 5, 2026

CVSS v3.1
8.7
EPSS
0%
Percentile
37.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.7 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00447 · 37.9th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-03-05T18:34Z
EPSS history
Timeline
  • 05 MAR 18:34Z
    Gogs: Stored XSS via data URI in issue comments
    cvelistv5