Intel

AIKIDO-2024-10246

github.com/go-gitea/gitea is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Sep 10, 2024

40

Medium Risk

This Affects:

gogithub.com/go-gitea/gitea
1.20.0 - 1.22.1
Fixed in 1.22.2
Are you affected? Scan for Free

TL;DR

Affected versions of the package allow Cross-Site Scripting (XSS) attacks. The search box in on the branch selector page uses v-html tags, which are unsafe.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

github.com/go-gitea/gitea is vulnerable to Cross-Site Scripting (XSS) in versions 1.20.0 - 1.22.1.

How to fix this

Upgrade the github.com/go-gitea/gitea library to the patch version.