Ad

CVE-2026-26022

MEDIUM CVSS 3.1: 5.4 EPSS 0.01%
Updated Mar 06, 2026
Gogs
Parameter Value
CVSS 5.4 (MEDIUM)
Affected Versions before 0.14.2
Fixed In 0.14.2
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor Gogs
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Gogs Gogs
cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*
0.14.2