CVE-2026-103667
published medium CVSS 3.1 · 5.4Gitea container registry stored XSS through blob media type
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | gitea.devGitea · 0 through 1.27.3 · Other versions: unaffected | Affected | Not stated | Gitea |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 0 through 1.27.3 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
4- Gitea 28.0.0 release announcement https://blog.gitea.com/release-of-28.0.0/
- Fix: go-gitea/gitea pull request #39398 https://github.com/go-gitea/gitea/pull/39398
- go-gitea/gitea v28.0.0 release https://github.com/go-gitea/gitea/releases/tag/v28.0.0
- GitHub Security Advisory GHSA-7cq7-4v93-8wjm https://github.com/go-gitea/gitea/security/advisories/GHSA-7cq7-4v93-8wjm
Provider assertions
2Gitea · cna
Gitea container registry stored XSS through blob media type
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7dc349a1b0a244c7f11e418d99c657ca054fb971d6044f8c3eef62c804da347a
- Ingested
- 07 Oct 2026, 22:38:12 UTC
- Source record
- Official CVE record