CVE-2026-103667 Gitea container registry stored XSS through blob media type
MediumCVSS 5.4
EPSS 0.33%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Gitea | < 28.0.0; <= 1.27.3 | 28.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Gitea | <= 1.27.3 | No fix listed |
| Gitea | < 28.0.0 | 28.0.0 |
References
- GitHub Security Advisory GHSA-7cq7-4v93-8wjm mitigation vendor-advisory
- Fix: go-gitea/gitea pull request #39398 issue-tracking patch
- Gitea 28.0.0 release announcement release-notes
- go-gitea/gitea v28.0.0 release release-notes
- ENISA EUVD EUVD-2026-93910 third-party-advisory