CVE-2024-6886Gitea Open Source Git Server XSS
Gitea Cross-site Scripting Vulnerability
Published Aug 6, 2024 · Updated Nov 25, 2026 · Also known as CGA-78c6-mpc6-x6fc, CGA-xh73-mmj2-p25c, GHSA-4h4p-553m-46qh, GO-2024-3056
Key Facts
Patch immediately- CVE-2024-6886 is a critical-severity vulnerability (CVSS 10.0 v4) affecting gitness (wolfi), code.gitea.io/gitea (go), Gitea Open Source Git Server.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 53% probability of exploitation in the next 30 days.
- Fixed versions are available, including code.gitea.io/gitea 1.22.1, gitness 0.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v4
10.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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS (30-day exploit likelihood)
53%
Higher than 98.9% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
47/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
Description
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.
Affected Products
6 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| gitnesswolfi | See advisory | 0 |
| code.gitea.io/giteago | See advisory | 1.22.1 |
| Gitea Open Source Git Server | >= 1.22.0 | n/a |
Patched Releases
code.gitea.io/gitea
1.22.1
Timeline
Publicly disclosed
Aug 6, 2024
Last updated
Nov 25, 2026
Weakness Type
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2024-6886
- advisoryGHSA advisory
- exploitExploitDB-52077
- articleblog.gitea.com · release-of-1.22.1
FAQ
Common Questions.
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.
Affected: gitness (wolfi); code.gitea.io/gitea (go); Gitea Open Source Git Server versions >= 1.22.0. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including code.gitea.io/gitea 1.22.1, gitness 0.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2024-6886 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo