{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-52798","published":"2026-06-24T21:16:55.533000Z","last_modified":"2026-06-25T18:16:39.817000Z","status":"Deferred","cvss":{"version":"3.1","score":8.9,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-79"],"cpes":[],"cpes_truncated":false,"vendors":["gogs"],"products":["gogs/gogs"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-jq8v-rmf6-65jw","ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":[{"introduced":"0","fixed":"0.14.3"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2026-5477","ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":53,"links":{"html_es":"/es/cve/CVE-2026-52798/","html_en":"/en/cve/CVE-2026-52798/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-52798","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-52798"},"untrusted":{"vendor_name":"gogs","product_name":"gogs","desc_en":"Gogs 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.","affected":[{"untrusted_vendor":"gogs","untrusted_product":"gogs","versions":[]}],"references":[{"url":"https://github.com/gogs/gogs/commit/17b168b11ca759a7550e1f4bbd68bbde14db7785","tags":[]},{"url":"https://github.com/gogs/gogs/pull/8319","tags":[]},{"url":"https://github.com/gogs/gogs/releases/tag/v0.14.3","tags":[]},{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-jq8v-rmf6-65jw","tags":[]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:21483-1","url":"https://www.suse.com/support/update/","published":"2026-07-30T09:09:47+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for govulncheck-vulndb"}}]}