{"id":"CVE-2026-96594","published":"2026-10-06T21:36:38Z","modified":"2026-10-07T15:04:26Z","title":"Gitea repository media API stored XSS","vendor":"Gitea","product":"Gitea","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00223,"percentile":0.13158,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-94rx-fqm6-q23v","tags":["vendor-advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/39501","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/pull/39507","tags":["patch"]},{"url":"https://blog.gitea.com/release-of-28.1.0/","tags":["release-notes"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.1.0","tags":["release-notes"]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":2.63},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"gitea","affectedVersions":[{"vendor":"Gitea","product":"Gitea","versions":["<= 28.0.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-07T15:04:06.630412Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-94066","exploited":false,"provenance":"source"}}