Skip to content
OpenAdvisories
Medium · 6.1 CVE-2021-45329 BIT-gitea-2021-45329EUVD-2022-1162GHSA-r3gq-wxqf-q4ghGO-2022-0314

Cross-site Scripting in Gitea

Published Feb 8, 2022 · Updated Aug 4, 2024 · Assigned by mitre

Description

Cross Site Scripting (XSS) vulnerability exists in Gitea before 1.5.1 via the repository settings inside the external wiki/issue tracker URL field.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS golang-code.gitea-git +1 No fix yet —
Ubuntu 20.04 LTS golang-code.gitea-git +1 No fix yet —
Ubuntu 18.04 LTS golang-code.gitea-git +1 No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 gitea 1.5.1-r0 —
Alpine v3.23 gitea 1.5.1-r0 —
Alpine v3.22 gitea 1.5.1-r0 —
Alpine v3.21 gitea 1.5.1-r0 —
Alpine v3.20 gitea 1.5.1-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 gitea 1.5.1-r0 —
Alpine v3.18 gitea 1.5.1-r0 —
Alpine v3.17 gitea 1.5.1-r0 —
Alpine v3.16 gitea 1.5.1-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/go-gitea/gitea < 1.5.1 1.5.1 GHSA-r3gq-wxqf-q4gh

References