Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2026-52798
PUBLISHED
More InfoOfficial Page
Assigner-GitHub_M
Assigner Org ID-a0819718-46f1-4df5-94e2-005712e83aaa
View Known Exploited Vulnerability (KEV) details
Published At-24 Jun, 2026 | 20:14
Updated At-24 Jun, 2026 | 20:14
Rejected At-
▼CVE Numbering Authority (CNA)
Gogs: Stored XSS in `.ipynb` Preview

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 Products
Vendor
gogs
Product
gogs
Versions
Affected
  • < 0.14.3
Problem Types
TypeCWE IDDescription
CWECWE-79CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Type: CWE
CWE ID: CWE-79
Description: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Metrics
VersionBase scoreBase severityVector
3.18.9HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L
Version: 3.1
Base score: 8.9
Base severity: HIGH
Vector:
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/gogs/gogs/security/advisories/GHSA-jq8v-rmf6-65jw
x_refsource_CONFIRM
https://github.com/gogs/gogs/pull/8319
x_refsource_MISC
https://github.com/gogs/gogs/commit/17b168b11ca759a7550e1f4bbd68bbde14db7785
x_refsource_MISC
https://github.com/gogs/gogs/releases/tag/v0.14.3
x_refsource_MISC
Hyperlink: https://github.com/gogs/gogs/security/advisories/GHSA-jq8v-rmf6-65jw
Resource:
x_refsource_CONFIRM
Hyperlink: https://github.com/gogs/gogs/pull/8319
Resource:
x_refsource_MISC
Hyperlink: https://github.com/gogs/gogs/commit/17b168b11ca759a7550e1f4bbd68bbde14db7785
Resource:
x_refsource_MISC
Hyperlink: https://github.com/gogs/gogs/releases/tag/v0.14.3
Resource:
x_refsource_MISC
Details not found