Bug 2547077 (CVE-2026-103667) - CVE-2026-103667 code.gitea.io/gitea: Gitea: Cross-site scripting via container registry blob media type
Summary: CVE-2026-103667 code.gitea.io/gitea: Gitea: Cross-site scripting via containe...
Keywords:
Status: NEW
Alias: CVE-2026-103667
Product: Security Response
Classification: Other
Component: vulnerability-draft
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-06 19:44 UTC by OSIDB Bzimport
Modified: 2026-11-02 13:08 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-06 19:44:26 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.