Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
3.5

Gitea notebook view allows click‑hijacking overlay

published 10 days ago
Summary

When Gitea shows a Jupyter notebook, it puts the notebook's language name directly into a CSS class without cleaning it. An attacker can craft a notebook that adds hidden overlay elements, covering the page and capturing users' clicks. Upgrade Gitea to a version that sanitises notebook content or disable notebook rendering for untrusted repositories.

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
Ecosystem VendorProductAffected versions
Docker Hardened Images:Alpine:3.24 docker hardened images gitea-dev All versions
Docker Hardened Images:Alpine:3.24 docker hardened images gitea-fips-dev All versions
Docker Hardened Images:Alpine:3.24 docker hardened images gitea-fips All versions
Docker Hardened Images:Alpine:3.24 docker hardened images gitea All versions
Original advisory text
Gitea's Jupyter notebook renderer inserts the notebook's language_info.name metadata into a CSS class attribute while…
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.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit (estimated)
  • Gives an attacker partial control (estimated)
Severity
3.5 Low
Timeline
Published12 Nov 2026
Updated16 Nov 2026
First seen16 Nov 2026
Sources
Track software like this
Free during beta