CVE-2026-96594

Gitea repository media API stored XSS

MEDIUM
6.1
CVSS Score
Published: October 6, 2026 at 09:36 PM UTC
Updated: October 13, 2026 at 05:59 PM UTC
1 product affected across 1 vendorGitea

Using Gitea by Gitea?

Get instant alerts when new vulnerabilities affect Gitea - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.1
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

95%
v < 28.1.0

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (5)

PatchIssue Tracking
Source: cverecord
https://github.com/go-gitea/gitea/pull/39501
PatchIssue Tracking
Source: cverecord
https://github.com/go-gitea/gitea/pull/39507
Release Notes
Source: cverecord
https://blog.gitea.com/release-of-28.1.0/

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.1MEDIUMCISA-ADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card