CVE-2026-52816
Published:June 24, 2026
Updated:June 29, 2026
Gogs is an open source self-hosted Git service. Prior to 0.14.3, the Jupyter Notebook (ipynb) sanitizer endpoint at POST /-/api/sanitize_ipynb allows arbitrary data: URIs without proper restrictions, potentially leading to Cross-Site Scripting (XSS). The endpoint uses bluemonday.UGCPolicy() with p.AllowURLSchemes("data") which permits all data URI schemes including data:text/html, enabling attackers to inject malicious HTML/JavaScript. Additionally, the endpoint has no authentication middleware, allowing any registered user to exploit this vulnerability. This vulnerability is fixed in 0.14.3.
Affected Packages
https://github.com/gogs/gogs.git (GITHUB):
Affected version(s) >=v0.2.0 <v0.14.3Fix Suggestion:
Update to version v0.14.3gogs.io/gogs (GO):
Affected version(s) >=v0.0.0-20140322175050-61e29226015f <v0.14.3Fix Suggestion:
Update to version v0.14.3github.com/gogs/gogs (GO):
Affected version(s) >=v0.0.0-20140212020143-475e3471b4e8 <v0.14.3Fix Suggestion:
Update to version v0.14.3Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.4
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
NONE
Exploit Maturity
POC
CVSS v3
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.68