CVE-2026-103667GHSA-7cq7-4v93-8wjm
Gitea container registry stored XSS through blob media type
Gitea Gitea
CVSS
5.4MediumExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.19%Chance of exploitation activity in the next 30 days, higher than 8% of CVEs. Scored 23 Oct 2026FIRST EPSS
What fixes it
- 28.0.0gitea.dev, goGitHub
go get gitea.dev@v28.0.0
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
Gitea's container registry served blob downloads with a Content-Type taken from the media type declared in pushed image manifests, without a Content-Disposition or restrictive content security policy. A user who can push container images can publish a blob containing HTML and JavaScript with a text/html media type. When a victim who is authenticated to the instance opens the blob URL in a browser, the script runs on the Gitea origin and can perform actions as the victim, such as creating API tokens.
Text from CVE List
Affected versions 2
- Giteaaffected: all versions through 1.27.3CVE List
- gitea.dev, go<= 1.27.3GitHub