The Gitea API endpoint `GET /api/v1/repos/{owner}/{repo}/media/{filepath}` wrote files of up to 1 KiB that are stored directly in Git, not in LFS, to the response without the content type and disposition headers Gitea uses for user content. An HTML file committed to a repository was therefore rendered by the browser on the Gitea origin. A user who can push to a repository could run JavaScript in the session of a victim who opens the media URL and act with the victim's permissions.
Also found: Mitigation available · Affected version boundary identified
Built only from official records (NVD, the CVE List and CISA). No AI. Always confirm applicability for your exact version and platform in the vendor advisory. NVD record last modified 13 Oct 2026, 17:59 UTC · checked by StraitOfVuln 02 Dec 2026, 20:47 UTC.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N · Attack vector: Network| https://github.com/go-gitea/gitea/security/advisories/GHSA-94rx-fqm6-q23v | MitigationVendor Advisory |
| https://github.com/go-gitea/gitea/pull/39501 | PatchIssue Tracking |
| https://github.com/go-gitea/gitea/pull/39507 | PatchIssue Tracking |
| https://blog.gitea.com/release-of-28.1.0/ | Release Notes |
| https://github.com/go-gitea/gitea/releases/tag/v28.1.0 | Release Notes |
A short explanation of who is affected, the impact and what to do, written only from this record's data.
AI isn't configured on this server (set AI_PROVIDER and an API key).
Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.
+ Gitea Gitea