Skip to main content
← All vulnerabilities
CVE-2026-103667BIT-GITEA-2026-103667GHSA-7CQ7-4V93-8WJM

Gitea container registry stored XSS through blob media type

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 28.0.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • gitea.dev

    through 1.27.3

  • giteaBitnami

    fixed in 28.0.0

References 4

GitHub · go-gitea/gitea

blog.gitea.com