1. Home
  2. Vulnerabilities
  3. CVE-2026-103667

CVE-2026-103667

Gitea container registry stored XSS through blob media type

Published 6 Oct 2026 · modified 15 Oct 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 24/100

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.

Affected products and versions

Gitea (2 line(s))
Gitea
ProductVersionsFixed inSource
Gitea up to 1.27.3 (included) — CNA (vendor or assigner)
Gitea before 28.0.0 (excluded) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
CNA (vendor or assigner)
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N (CVSS 3.1, CNA:134c704f-9b21-4f2e-91b3-4a467353bcc0)
Weakness
CWE-79 · Script intersite (XSS)

How this data is obtained and calculated