CVE-2026-103667
JSON

5.4medium

Gitea container registry stored XSS through blob media type

Severity
5.4medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.19% (higher than 9% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Gitea
Also known as
BIT-GITEA-2026-103667GHSA-7cq7-4v93-8wjm

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.

Affected

Product or packageVersionsReported by
gitea.devup to 1.27.3CVE List
gitea giteabefore 28.0.0NVD
gitea (Bitnami)before 28.0.0Bitnami Vulnerability Database

All scores

CISA-ADP5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-103667 changed 2026-10-07CVE Terms of Use
NVDCVE-2026-103667 changed 2026-10-15Public domain
Bitnami Vulnerability DatabaseBIT-GITEA-2026-103667 changed 2026-10-16Apache-2.0