Description
Gitea's Jupyter notebook renderer inserts the notebook's language_info.name metadata into a CSS class attribute while disabling sanitization and rendering directly in the main document without an iframe sandbox. A malicious repository notebook can supply multiple CSS classes that create a viewport-covering overlay and intercept clicks when another user views it. The reported impact is UI redress; script execution was not demonstrated.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Gitea | Gitea | 1.27.0 – ≤ 1.27.1 | — |
Advisories 1
- WID-SEC-2026-2863 Gitea: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 14, 2026
References
- GitHub Security Advisory GHSA-7452-653r-6gp8 vendor-advisory
- Fix: go-gitea/gitea pull request #38793 patch
- Gitea 1.27.2 release announcement release-notes
- Fix: go-gitea/gitea pull request #38795 patch
- go-gitea/gitea v1.27.2 release release-notes