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.
Published: 2026-10-14
Score: 3.5 Low
EPSS: < 1% Very Low
KEV: No
Impact: UI Redress (UI hijacking)
Action: Assess Impact
AI Analysis

Impact

Gitea's Jupyter notebook renderer inserts the notebook's language_info.name value into a CSS class attribute without sanitizing it or using a sandboxed frame. A malicious notebook can supply multiple CSS classes that create a viewport‑covering overlay and capture user clicks, which causes UI redress. No arbitrary script execution was demonstrated; the impact is purely visual and interaction hijacking.

Affected Systems

All Gitea installations that expose the Jupyter notebook rendering page potentially risk this vulnerability. The available data does not specify a fixed product version, so any deployment that includes this feature is at risk until a fix is applied.

Risk and Exploitability

The CVSS score of 3.5 indicates a low severity impact. EPSS score is < 1% and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an attacker to upload a malicious notebook to a repository that another user will view, and the victim must use a browser to see the notebook. Because no remote code execution was demonstrated and the attack surface is limited to in-browser visual manipulation, the overall threat remains moderate.

Generated by OpenCVE AI on October 15, 2026 at 20:27 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to a later release where the Jupyter notebook rendering has been sanitized.
  • If upgrade is delayed, place repositories containing untrusted notebooks in a restricted or read‑only branch to limit accidental viewing.
  • Review existing Jupyter notebooks for unsafe CSS classes and remove or sanitize any language_info.name values that could create overlay effects.

Generated by OpenCVE AI on October 15, 2026 at 20:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 17 Oct 2026 18:15:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea

Wed, 14 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 3.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 14 Oct 2026 14:45:00 +0000

Type Values Removed Values Added
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.
Title Gitea Jupyter notebook UI redress through CSS class injection
Weaknesses CWE-1021
CWE-79
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-10-14T15:26:34.451Z

Reserved: 2026-07-08T09:19:07.129Z

Link: CVE-2026-60008

cve-icon Vulnrichment

Updated: 2026-10-14T15:26:29.123Z

cve-icon NVD

Status : Deferred

Published: 2026-10-14T15:17:20.787

Modified: 2026-10-14T16:17:47.170

Link: CVE-2026-60008

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T18:00:10Z

Weaknesses
  • CWE-1021

    Improper Restriction of Rendered UI Layers or Frames

  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')