CVE-2026-103667
5.4medium
Gitea container registry stored XSS through blob media type
- Severity
- 5.4medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.19% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Gitea
- Also known as
- BIT-GITEA-2026-103667GHSA-7cq7-4v93-8wjm
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| gitea.dev | up to 1.27.3 | CVE List |
| gitea gitea | before 28.0.0 | NVD |
| gitea (Bitnami) | before 28.0.0 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://github.com/go-gitea/gitea/security/advisories/GHSA-7cq7-4v93-8wjm | advisory, mitigation, vendor-advisory | |
| https://github.com/go-gitea/gitea/pull/39398 | fix, issue-tracking, patch | |
| https://blog.gitea.com/release-of-28.0.0/ | article, release-notes | |
| https://github.com/go-gitea/gitea/releases/tag/v28.0.0 | article, release-notes | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-103667 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-103667 changed 2026-10-07 | CVE Terms of Use |
| NVD | CVE-2026-103667 changed 2026-10-15 | Public domain |
| Bitnami Vulnerability Database | BIT-GITEA-2026-103667 changed 2026-10-16 | Apache-2.0 |