VDB
Sign up
MEDIUM5.4

GO-2025-4263

Gitea allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text in code.gitea.io/gitea

Quick fix

GO-2025-4263 — code.gitea.io/gitea: upgrade to the fixed version with the command below.

go get code.gitea.io/gitea@v1.22.2

Details

Gitea allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text in code.gitea.io/gitea

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/code.gitea.io/gitea
Introduced in: 0Fixed in: 1.22.2
Fixgo get code.gitea.io/gitea@v1.22.2

References