{"id":"CVE-2026-103667","aliases":["CVE-2026-103667","BIT-GITEA-2026-103667","GHSA-7cq7-4v93-8wjm"],"related":[],"kind":"vulnerability","state":"published","title":"Gitea container registry stored XSS through blob media type","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-06T19:23:34.873Z","modified":"2026-10-16T09:56:02.327Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.27.3","status":"affected"}],"vendor":"Gitea","product":"Gitea","package":"gitea.dev","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"28.0.0"}],"vendor":"gitea","product":"gitea","cpe":"cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"28.0.0"}],"ecosystem":"Bitnami","package":"gitea","purl":"pkg:bitnami/gitea","source":"bitnami"}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-7cq7-4v93-8wjm","tags":["advisory","mitigation","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/go-gitea/gitea/pull/39398","tags":["fix","issue-tracking","patch"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://blog.gitea.com/release-of-28.0.0/","tags":["article","release-notes"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.0.0","tags":["article","release-notes"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-103667","tags":["web"],"sources":["bitnami"]}],"credits":["https://github.com/parameter-ai-security","https://github.com/wxiaoguang"],"assigner":"Gitea","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-07T20:16:50.727Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-103667","url":"https://www.cve.org/CVERecord?id=CVE-2026-103667","licence":"CVE Terms of Use","modified":"2026-10-07T20:17:12.875Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-103667","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-103667","licence":"Public domain","modified":"2026-10-15T02:25:29.217Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GITEA-2026-103667","url":"https://osv.dev/vulnerability/BIT-GITEA-2026-103667","licence":"Apache-2.0","modified":"2026-10-16T09:56:02.327Z"}],"updatedAt":"2026-11-25T22:59:42.492Z","epss":{"score":0.0019,"percentile":0.09109,"date":"2026-12-01T12:00:22.000Z"}}