Skip to content
OpenAdvisories
Low · 3.7 Public exploit CVE-2021-28378 BIT-gitea-2021-28378EUVD-2021-2059GHSA-g95p-88p4-76cmGO-2022-0832

Cross-site Scripting in Gitea

Published Mar 15, 2021 · Updated Aug 3, 2024 · Assigned by mitre

Description

Gitea 1.12.x and 1.13.x before 1.13.4 allows XSS via certain issue data in some situations.

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
Alpine v3.24 gitea 1.13.4-r0 —
Alpine v3.23 gitea 1.13.4-r0 —
Alpine v3.22 gitea 1.13.4-r0 —
Alpine v3.21 gitea 1.13.4-r0 —
Alpine v3.20 gitea 1.13.4-r0 —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 gitea 1.13.4-r0 —
Alpine v3.18 gitea 1.13.4-r0 —
Alpine v3.17 gitea 1.13.4-r0 —
Alpine v3.16 gitea 1.13.4-r0 —
Alpine v3.15 gitea 1.13.4-r0 —
Alpine v3.14 gitea 1.13.4-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Go code.gitea.io/gitea < 1.13.4 1.13.4 GHSA-g95p-88p4-76cm

References