7.5

CVE-2022-30781: gitea Improper Encoding or Escaping of Output

Modified
AliasesGHSA-p5f9-c9j9-g8qxBIT-gitea-2022-30781GO-2022-0450
Published 16-05-2022Last modified 03-08-2024

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.

Overall risk
58/100
0100
High · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
87.93%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits4reference, metasploit, exploit-database

Timeline

  1. 16-05-2022
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

Gitea before 1.16.7 does not escape git fetch remote.

CVSS metrics

3 scores · 2 sources · 2 versions

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

22-09-202622-10-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

4 found
  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

  • MetasploitMetasploitremoteVerified

    Gitea Git Fetch Remote Code Execution

    exploit/multi/http/gitea_git_fetch_rce

    Maturity: weaponized

Show all 4 exploits
  • exploit-databasemultipleVerified

    Gitea 1.16.6 - Remote Code Execution (RCE) (Metasploit)

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Code.gitea.io1 product
  • gitea< 1.16.7
Gitea1 product

2 vendors · 2 products

References

9 links