🛡️ CVE-2022-1928 — gitea

🟡 CVSS 5.0 — Medium ✅ No Known Exploit CWE-79 OSV
5.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Stored Cross-site Scripting in gitea

Cross-site Scripting (XSS) - Stored in GitHub repository go-gitea/gitea prior to 1.16.9 via unfiltered pdfs

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is high, an attacker needs low-level privileges on the target. A user must be tricked into taking some action. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality low, integrity low, availability none.

Weakness class

CVE-2022-1928 is classified as CWE-79: Cross-site Scripting (XSS). User-supplied data is written into a page without escaping, so attacker script runs in the browser of anyone who views it.

Affected software

CVE-2022-1928 is recorded against 2 packages.

  • code.gitea.io/gitea
  • gitea

Timeline and source

Published on 30 May 2022 and last revised on 3 March 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

nvd.nist.gov (Advisory)
github.com (Web)
github.com (Web)
github.com (Web)
huntr.dev (Web)
security.gentoo.org (Web)

Details

Severity Medium
CVSS Score 5.0
CVSS Vector CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
CWE CWE-79
Public Exploit ✅ No
Source OSV
Published 2022-05-30
Updated 2026-08-12
Modified 2026-03-03
Fix URL N/A

Affected Packages

Software From version Fixed in
code.gitea.io/gitea
gitea

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in gitea

CVE-2022-1928 is rated CVSS 5.0 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.