Vulnerability · Published Dec 26, 2025 · Assigned by mitre

CVE-2025-68942

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

Gitea before 1.22.2 allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gocode.gitea.io/gitea1.22.2GHSA-898p-hh3p-hf9r
Gocode.gitea.io/gitea1.22.2GO-2025-4263

Affected products (as reported)

VendorProductVersions
Gitea Gitea 0 – before 1.22.2

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

References