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.
References
| Link | Resource |
|---|---|
| https://blog.gitea.com/release-of-28.0.0/ | Release Notes |
| https://github.com/go-gitea/gitea/pull/39398 | Patch Issue Tracking |
| https://github.com/go-gitea/gitea/releases/tag/v28.0.0 | Release Notes |
| https://github.com/go-gitea/gitea/security/advisories/GHSA-7cq7-4v93-8wjm | Mitigation Vendor Advisory |
Configurations
History
15 Oct 2026, 02:25
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Gitea gitea
Gitea |
|
| CPE | cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:* | |
| References | () https://blog.gitea.com/release-of-28.0.0/ - Release Notes | |
| References | () https://github.com/go-gitea/gitea/pull/39398 - Patch, Issue Tracking | |
| References | () https://github.com/go-gitea/gitea/releases/tag/v28.0.0 - Release Notes | |
| References | () https://github.com/go-gitea/gitea/security/advisories/GHSA-7cq7-4v93-8wjm - Mitigation, Vendor Advisory |
07 Oct 2026, 21:17
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.4 |
06 Oct 2026, 20:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-06 20:17
Updated : 2026-10-15 02:25
NVD link : CVE-2026-103667
Mitre link : CVE-2026-103667
CVE.ORG link : CVE-2026-103667
JSON object : View
Products Affected
gitea
- gitea
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
