CVE-2022-30781: gitea Improper Encoding or Escaping of Output
Vulnerability summary
CVE-2022-30781 is a high (CVSS 7.5) Improper Encoding or Escaping of Output vulnerability in gitea. EPSS estimates a 87.93% chance of exploitation in the next 30 days, higher than 99.7% of scored vulnerabilities. 4 public exploits are recorded.
Timeline
- 16-05-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
Gitea before 1.16.7 does not escape git fetch remote.
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · GoEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
87.93%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
No change 0.00 pp
From 87.93% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
4 foundExploit Reference (packetstormsecurity.com)
Maturity: unknown
Exploit Reference (packetstormsecurity.com)
Maturity: unknown
Gitea Git Fetch Remote Code Execution
exploit/multi/http/gitea_git_fetch_rce
Maturity: weaponized
Weaknesses
CWE · root causeAffected systems
Code.gitea.io1 product
- gitea< 1.16.7
Gitea1 product
- gitea< 1.16.7
2 vendors · 2 products
References
9 links- packetstormsecurity.com/files/168400/Gitea-1.16.6-Remote-Code-Execution.htmlWEBExploitThird Party AdvisoryVDB Entry
- packetstormsecurity.com/files/169928/Gitea-Git-Fetch-Remote-Code-Execution.htmlWEBExploitThird Party AdvisoryVDB Entry
- github.com/go-gitea/giteaPACKAGE