Vulnerability · Published Dec 26, 2025 · Assigned by mitre

CVE-2025-68946

Medium 5.4

In plain English

A medium-severity cross-site scripting in Gitea from Gitea. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.2%top 83.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

In Gitea before 1.20.1, a forbidden URL scheme such as javascript: can be used for a link, aka XSS.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gocode.gitea.io/gitea1.20.1GHSA-hq57-c72x-4774
Gocode.gitea.io/gitea1.20.1GO-2025-4265

Affected products (as reported)

VendorProductVersions
Gitea Gitea 1.20.0 – before 1.20.1

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

References