Gogs is an open source self-hosted Git service. Prior to 0.14.3, although .ipynb previews are sanitized on…
Historical advisory recorded 25 Oct 2026 13:17:10 UTC. Read the latest advisory.
nvd · CVE-2026-52798
PublishedGogs is an open source self-hosted Git service. Prior to 0.14.3, although .ipynb previews are sanitized on the server side via /-/api/sanitize_ipynb, the inserted content is re-rendered on the client side without sanitization using marked() on elements with the .nb-markdown-cell class. During this process, links containing schemes such as javascript: can be regenerated. As a result, when a victim views an attacker-crafted .ipynb file and clicks the link, arbitrary JavaScript is executed in the Gogs origin, leading to a click-based Stored XSS. This vulnerability is fixed in 0.14.3.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-52798
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Deferred
Weakness classifications: CWE-79
Original publisher date fields
published: 2026-06-24T21:16:55.533
lastModified: 2026-06-25T18:16:39.817
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON