{"id":"CVE-2026-96594","sourceIdentifier":"88ee5874-cf24-4952-aea0-31affedb7ff2","published":"2026-10-06T22:17:07.810","lastModified":"2026-10-13T17:59:22.620","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"88ee5874-cf24-4952-aea0-31affedb7ff2","affectedData":[{"vendor":"Gitea","product":"Gitea","defaultStatus":"unaffected","packageName":"gitea.dev","versions":[{"version":"0","lessThanOrEqual":"28.0.0","versionType":"semver","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.7}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-10-07T15:04:06.630412Z","id":"CVE-2026-96594","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"88ee5874-cf24-4952-aea0-31affedb7ff2","type":"Secondary","description":[{"lang":"en","value":"CWE-79"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*","versionEndExcluding":"28.1.0","matchCriteriaId":"A392C59B-D9D1-41C2-BBEC-C0E388C35439"}]}]}],"references":[{"url":"https://blog.gitea.com/release-of-28.1.0/","source":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":["Release Notes"]},{"url":"https://github.com/go-gitea/gitea/pull/39501","source":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":["Patch","Issue Tracking"]},{"url":"https://github.com/go-gitea/gitea/pull/39507","source":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":["Patch","Issue Tracking"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.1.0","source":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":["Release Notes"]},{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-94rx-fqm6-q23v","source":"88ee5874-cf24-4952-aea0-31affedb7ff2","tags":["Mitigation","Vendor Advisory"]}]}