Home / Gitea / Gitea Open Source Git Server / CVE-2024-6886
CVE-2024-6886: is it exploited, and which versions of Gitea Open Source Git Server are affected and fixed?
CVE-2024-6886 is a cross-site scripting (XSS) vulnerability in Gitea Open Source Git Server. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:39 UTC). Affected: code.gitea.io/gitea before 1.22.1 (GitHub advisory GHSA-4h4p-553m-46qh). Fixed in 1.22.1 (GitHub advisory GHSA-4h4p-553m-46qh). Severity: Critical (10.0, CVSS 4.0, from Gitea).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:39 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:27 UTC.
What is CVE-2024-6886?
Inproper Sanitation of field leading to stored XSS
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea Gitea Open Source Git Server allows Stored XSS.This issue affects Gitea Open Source Git Server: 1.22.0.
From the CVE record by Gitea, last updated August 6, 2024, 14:30 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Gitea | Gitea Open Source Git Server | 1.22.0 |
As the CVE record by Gitea states it, last updated August 6, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | code.gitea.io/gitea | < 1.22.1 | 1.22.1 | GHSA-4h4p-553m-46qh |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 7, 2024. Summary: Gitea Cross-site Scripting Vulnerability.
How severe is CVE-2024-6886?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 10.0 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H | Gitea |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-6886 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, August 6, 2024)
- EPSS
- 52.8% probability of exploitation activity in the next 30 days, percentile 99.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
Who found and reported it?
- Catalin Iovita (https://github.com/catalin-iovita) (finder)
- Alexandru Postolache (https://github.com/alex-postolache) (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 18, 2024
- Published
- August 6, 2024, 03:23 UTC
- CVE record updated
- August 6, 2024, 14:30 UTC by Gitea
- NVD
- Deferred, last modified June 17, 2026, 08:18 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:27 UTC; KEV December 3, 2026, 19:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Gitea Open Source Git Server?
- Aug 13, 2026CVE-2026-24791 Gitea Open Source Git Server: incorrect authorization
- Aug 13, 2026CVE-2026-24059 Gitea Open Source Git Server: privilege escalation (improper privilege management)
- Aug 13, 2026CVE-2026-59765 Gitea Open Source Git Server: server-side request forgery (SSRF)
- Aug 13, 2026CVE-2026-59763 Gitea Open Source Git Server: improper access control
- Aug 13, 2026CVE-2026-58511 Gitea Open Source Git Server: information disclosure
- Aug 13, 2026CVE-2026-58510 Gitea Open Source Git Server: information disclosure
- Aug 13, 2026CVE-2026-58508 Gitea Open Source Git Server: improper access control
- Aug 13, 2026CVE-2026-58507 Gitea Open Source Git Server: improper access control
Every CVE in Gitea Open Source Git Server
Questions about CVE-2024-6886
Is CVE-2024-6886 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:39 UTC. FIRST's EPSS gives it a 52.8% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Gitea Open Source Git Server are affected by CVE-2024-6886?
code.gitea.io/gitea before 1.22.1, per the GitHub advisory GHSA-4h4p-553m-46qh. The tables above give every range the sources list.
Which version fixes CVE-2024-6886?
1.22.1, per the GitHub advisory GHSA-4h4p-553m-46qh. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-6886?
Critical (10.0, CVSS 4.0, from Gitea). The severity table above shows each score with its source.
Where is the official record of CVE-2024-6886?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.