Cross-site scripting in Gitea - CVE-2026-28737
Published: June 22, 2026
Gitea
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary JavaScript in the victim's browser within the Gitea origin.
The vulnerability exists due to cross-site scripting in the built-in 3D file viewer error display when parsing crafted .gltf files with unsupported extensionsRequired values. A remote user can push a specially crafted .gltf file to a repository and trigger script execution when the file is viewed to execute arbitrary JavaScript in the victim's browser within the Gitea origin.
User interaction is required to view the crafted file page in the Gitea web UI.