Vulnerability from bitnami_vulndb
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": [
{
"package": {
"ecosystem": "Bitnami",
"name": "gitea",
"purl": "pkg:bitnami/gitea"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "28.0.0"
}
],
"type": "SEMVER"
}
],
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
}
]
}
],
"aliases": [
"CVE-2026-103667"
],
"database_specific": {
"cpes": [
"cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*"
],
"severity": "Medium"
},
"details": "Gitea\u0027s 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.",
"id": "BIT-gitea-2026-103667",
"modified": "2026-10-16T09:07:50.945Z",
"published": "2026-10-16T08:36:30.182Z",
"references": [
{
"type": "ARTICLE",
"url": "https://blog.gitea.com/release-of-28.0.0/"
},
{
"type": "FIX",
"url": "https://github.com/go-gitea/gitea/pull/39398"
},
{
"type": "ARTICLE",
"url": "https://github.com/go-gitea/gitea/releases/tag/v28.0.0"
},
{
"type": "ADVISORY",
"url": "https://github.com/go-gitea/gitea/security/advisories/GHSA-7cq7-4v93-8wjm"
},
{
"type": "WEB",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-103667"
}
],
"schema_version": "1.6.2",
"summary": "Gitea container registry stored XSS through blob media type"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.