CVE-2026-103667

MEDIUM CVSS 3.1: 5.4 EPSS 0.19%
Updated Oct 15, 2026
Gitea
Parameter Value
CVSS 5.4 (MEDIUM)
Affected Versions before 28.0.0
Fixed In 28.0.0
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor Gitea
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Gitea Gitea
cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*
— 28.0.0