{"id":"CVE-2026-103667","revision":"1ce5a5b6f20d40c5b127f9c510b52b54","records":[{"revision":"1ce5a5b6f20d40c5b127f9c510b52b54","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-103667","aliases":[],"title":"Gitea container registry stored XSS through blob media type","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.","state":0,"publishedAt":"2026-10-06T19:23:34.873+00:00","modifiedAt":"2026-10-07T20:17:12.875+00:00","affected":[{"ecosystem":"Vendor product","name":"gitea.dev","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Gitea\",\n                    \"product\": \"Gitea\",\n                    \"packageName\": \"gitea.dev\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"1.27.3\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://github.com/go-gitea/gitea/security/advisories/GHSA-7cq7-4v93-8wjm","https://github.com/go-gitea/gitea/pull/39398","https://blog.gitea.com/release-of-28.0.0/","https://github.com/go-gitea/gitea/releases/tag/v28.0.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-103667","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-103667","identifiers":["CVE-2026-103667"]},"retained":false,"historicalAffected":[]}],"coverage":[]}