Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
3.5
CVE-2026-60008: Gitea notebook view can be tricked to hide clicks
CVE-2026-60008 · published 4 days ago
Summary
When Gitea shows Jupyter notebooks, it adds information from the notebook into a style tag without cleaning it. A crafted notebook can insert extra style classes that create an invisible layer over the page, causing users to click on something they cannot see. Update Gitea to the latest version or apply the provided patch to ensure notebook content is properly sanitized.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| gitea | gitea | <= 1.27.1 |
Original advisory text
Gitea Jupyter notebook UI redress through CSS class injection
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.
References
- https://github.com/go-gitea/gitea/pull/38793 Patch
- https://blog.gitea.com/release-of-1.27.2/ Vendor Advisory
- https://github.com/go-gitea/gitea/pull/38795 Patch
- https://github.com/go-gitea/gitea/security/advisories/GHSA-7452-653r-6gp8 Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/60xxx/CVE-2026-60008... Vendor Advisory
- https://github.com/go-gitea/gitea/releases/tag/v1.27.2 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-60008 Vendor Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Severity
3.5
Low
Type
CWE-79Cross-site Scripting (XSS)
CWE-1021Improper Restriction of Rendered UI Layers or Frames
Timeline
Published14 Oct 2026
Updated15 Oct 2026
First seen14 Oct 2026
Track software like this
Free during beta