CVE-2026-52816
Beschrijving NL
GOGS is een open source zelf-gehoste Git-service. Voorafgaand aan 0.14.3 staat het Jupyter Notebook (ipynb) ontsmettingsmiddel-eindpunt op POST /-/api/sanitize_ipynb willekeurige gegevens toe: URI's zonder de juiste beperkingen, wat mogelijk leidt tot Cross-Site Scripting (XSS). Het eindpunt maakt gebruik van bluemonday.UGCPolicy () metp.AllowURLSchemes ("data") die alle gegevens-URI-schema'S mogelijk maakt, inclusief data:text/html, waardoor aanvallers kwaadaardige HTML/JavaScript kunnen injecteren. Bovendien heeft het eindpunt geen authenticatie-middleware, waardoor elke geregistreerde gebruiker dit beveiligingslek kan misbruiken. Deze kwetsbaarheid is opgelost in 0.14.3.
Origineel (Engels) tonen
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.