Security mailing lists by PureSourceCode

CVE-2026-52798

HIGH 8.9CVSS 3.1

Gogs has 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.

Published
24 Jun 2026
Last modified
21 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-79
Also known as
GHSA-jq8v-rmf6-65jwGO-2026-5477
Sources
NVDJSONOSV GHSA-jq8v-rmf6-65jwJSONOSV GO-2026-5477JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L
OSV GitHub CVSS 3.1 HIGH 8.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go gogs.io/gogs < 0.14.3 0.14.3
OSV Go gogs.io/gogs all versions

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 24 Jun 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.