CVE-2026-96594 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blog.gitea.com/release-of-28.1.0/ | Gitea Limited | Release Notes |
| https://github.com/go-gitea/gitea/pull/39501 | Gitea Limited | PatchIssue Tracking |
| https://github.com/go-gitea/gitea/pull/39507 | Gitea Limited | PatchIssue Tracking |
| https://github.com/go-gitea/gitea/releases/tag/v28.1.0 | Gitea Limited | Release Notes |
| https://github.com/go-gitea/gitea/security/advisories/GHSA-94rx-fqm6-q23v | Gitea Limited | MitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | Gitea Limited |
Affected Products
| Product | Versions |
|---|---|
| gitea gitea | < 28.1.0 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 13, 2026 | Initial Analysis | [email protected] |
| Oct 7, 2026 | CVE Modified | CISA-ADP |
| Oct 6, 2026 | New CVE Received | Gitea Limited |