All vulnerabilities

Servers and applications

CVE-2026-96594

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…

Severity
Medium 6.1
Published
6 Oct 2026
Last changed
13 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
28.1.0
Sources
NVD

Affected software

SoftwareAffected versions
GiteaServers and applications · cpe:a:gitea:gitea
  • Every version before 28.1.0

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-96594
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-96594