Description
Gitea versions from 1.25.0 before 1.26.0 allow stored cross-site scripting through the extensionsRequired field in glTF files rendered by the 3D file viewer.
Published: 2026-07-03
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Gitea versions from 1.25.0 through 1.25.x allow stored cross‑site scripting via the extensionsRequired field in glTF files displayed by the 3D viewer. A malicious script placed in this field is stored inside the file and runs automatically when the file is viewed in the browser, giving an attacker the ability to execute arbitrary JavaScript for any user who opens the file.

Affected Systems

The vulnerability affects deployments of Gitea on releases from 1.25.0 through 1.25.x, i.e., any version prior to 1.26.0. Any system that accepts glTF uploads and renders them via the 3D file viewer may be exposed, as the malicious script is stored within the file and executed upon viewing.

Risk and Exploitability

The CVSS score of 8.7 classifies this flaw as high severity, while the EPSS score of less than 1% indicates a low probability of exploitation at the time of analysis. It is not listed in the CISA KEV catalog. Attackers would most likely exploit the flaw by uploading a crafted glTF file containing a malicious extensionsRequired payload into a repository; the script would then execute automatically whenever another user accesses the file through the 3D viewer.

Generated by OpenCVE AI on July 24, 2026 at 10:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 1.26.0 or later.
  • If an immediate upgrade is not possible, disable the 3D file viewer or block the upload of glTF files until the fix is applied.
  • Inspect existing glTF files in repositories for embedded scripts and remove or replace any suspicious content.

Generated by OpenCVE AI on July 24, 2026 at 10:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-9cpj-qc93-vw8v Gitea: Stored XSS via glTF `extensionsRequired` in Gitea 3D File Viewer
History

Tue, 07 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 06 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server

Fri, 03 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
Description Gitea versions from 1.25.0 before 1.26.0 allow stored cross-site scripting through the extensionsRequired field in glTF files rendered by the 3D file viewer.
Title Gitea 3D file viewer allows stored XSS through glTF extensionsRequired
Weaknesses CWE-79
References
Metrics cvssV3_1

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


Subscriptions

Gitea Gitea Open Source Git Server
cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-07-07T16:58:33.235Z

Reserved: 2026-03-03T03:25:50.217Z

Link: CVE-2026-28737

cve-icon Vulnrichment

Updated: 2026-07-07T13:48:13.635Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-24T10:45:03Z

Weaknesses
  • CWE-79

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