# CVE-2026-103667: Gitea container registry stored XSS through blob media type

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-10-06T19:23:34.873Z
- Modified: 2026-10-16T09:56:02.327Z
- Also known as: BIT-GITEA-2026-103667, GHSA-7cq7-4v93-8wjm
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Gitea

## 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.

(As written by CVE List.)

## Affected

- gitea.dev: up to 1.27.3
- gitea gitea: before 28.0.0
- gitea (Bitnami): before 28.0.0

## Every score

- CISA-ADP: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-7cq7-4v93-8wjm> (advisory, mitigation, vendor-advisory)
- <https://github.com/go-gitea/gitea/pull/39398> (fix, issue-tracking, patch)
- <https://blog.gitea.com/release-of-28.0.0/> (article, release-notes)
- <https://github.com/go-gitea/gitea/releases/tag/v28.0.0> (article, release-notes)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-103667> (web)

## Sources

- CVE List: [CVE-2026-103667](https://www.cve.org/CVERecord?id=CVE-2026-103667), CVE Terms of Use, modified 2026-10-07
- NVD: [CVE-2026-103667](https://nvd.nist.gov/vuln/detail/CVE-2026-103667), Public domain, modified 2026-10-15
- Bitnami Vulnerability Database: [BIT-GITEA-2026-103667](https://osv.dev/vulnerability/BIT-GITEA-2026-103667), Apache-2.0, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-103667 · Whole record: https://cve.day/CVE-2026-103667.json · Rebuilt by cve.day 2026-11-25T22:59:42.492Z
