CVE-2026-52816
CVE-2026-52816 is a medium-severity vulnerability with a CVSS 4.0 base score of 5.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-80.
Key facts
- Severity: Medium (CVSS 4.0 base score 5.4)
- EPSS exploit prediction: 1% (48th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-39076
- Weakness: CWE-80
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2026-52816?
- 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.
- How severe is CVE-2026-52816?
- CVE-2026-52816 has a CVSS 4.0 base score of 5.4, rated medium severity.
- Is CVE-2026-52816 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (48th percentile), an estimate of the probability of exploitation in the next 30 days.
- How do I fix CVE-2026-52816?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-52816 have an EU (EUVD) identifier?
- Yes. CVE-2026-52816 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-39076.
- When was CVE-2026-52816 published?
- CVE-2026-52816 was published on 2026-06-24 and last updated on 2026-06-25.
References
- https://github.com/gogs/gogs/commit/dd1bd9837aa196b3ed3a8ee21e5727b5d7a986a3
- https://github.com/gogs/gogs/pull/8326
- https://github.com/gogs/gogs/releases/tag/v0.14.3
- https://github.com/gogs/gogs/security/advisories/GHSA-3w28-36p9-w929
Other CWE-80 vulnerabilities
- CVE-2024-39363 — Critical (CVSS 9.6): A cross-site scripting (xss) vulnerability exists in the login.cgi set_lang_CountryCode() functionality of Wavlink…
- CVE-2023-39216 — Critical (CVSS 9.6): Improper input validation in Zoom Desktop Client for Windows before 5.14.7 may allow an unauthenticated user to enable…
- CVE-2025-53883 — Critical (CVSS 9.3): A Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability allows attackers to run…
- CVE-2026-32891 — Critical (CVSS 9.0): Anchorr is a Discord bot for requesting movies and TV shows and receiving notifications when items are added to a media…
- CVE-2026-57532 — High (CVSS 8.8): Malicious HTML content contained in the layout specification of a PDF ticket or badge layout was executed when the PDF…
- CVE-2026-6002 — High (CVSS 8.8): Improper neutralization of Script-Related HTML tags in a web page (basic XSS) vulnerability in DivvyDrive Information…