{"id":"BIT-gitea-2026-103667","summary":"Gitea container registry stored XSS through blob media type","details":"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.","aliases":["CVE-2026-103667","GHSA-7cq7-4v93-8wjm"],"modified":"2026-10-16T09:56:02.327567064Z","published":"2026-10-16T08:36:30.182Z","database_specific":{"severity":"Medium","cpes":["cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*"]},"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"}],"affected":[{"package":{"name":"gitea","ecosystem":"Bitnami","purl":"pkg:bitnami/gitea"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"28.0.0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/gitea/BIT-gitea-2026-103667.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}],"schema_version":"1.9.0"}