Back to CVE records
Medium 6.1Published Oct 6, 2026

CVE-2026-96594Gitea repository media API stored XSS

Updated under an hour ago ()

Does this affect you?

It affects Gitea. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
6.1 MEDIUM (v3.1, CISA ADP)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness (CWE)
CWE-79
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Gitea
NVD analysis
Analyzed
Record last updated
Oct 7, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Gitea Gitea
gitea:gitea (from the name)
through 28.0.0
CNA record
gitea gitea
gitea:gitea
before 28.1.0
NVD

References

  • vendor-advisory, mitigation
  • patch, issue-tracking
  • patch, issue-tracking
  • release-notes
  • release-notes

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.