CVE-2026-60008

Gitea Jupyter notebook UI redress through CSS class injection

Published Oct 14, 2026 CVSS 3.1 · 3.5 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea
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'}

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
Weaknesses
  • CWE-1021

    Improper Restriction of Rendered UI Layers or Frames

  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Oct 14, 2026, 3:26 PM
Reserved
Jul 8, 2026, 9:19 AM
Status
Deferred
Published
Oct 14, 2026, 3:17 PM
Modified
Oct 14, 2026, 4:17 PM