All reports
Medium

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

Affected versions

Version ranges need review.

Affected versions
< 1.22.2
Fixed version
1.22.2
Affected versions
<1.22.2
Fixed version
1.22.2
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-68942

Probability of exploitation in the next 30 days: 0.25%

FIRST EPSS · 2026-11-19

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.

Links