# CVE-2024-6886: Inproper Sanitation of field leading to stored XSS

- Priority: **Prioritise**
- Reason: Public exploit (exploit-database, 28-08-2024)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2024-08-06 · Modified: 2024-08-06
- Aliases: CGA-78c6-mpc6-x6fc, CGA-xh73-mmj2-p25c, GHSA-4h4p-553m-46qh, GO-2024-3056
- Record: https://cvemate.com/vulnerability/CVE-2024-6886 · JSON: https://cvemate.com/vulnerability/CVE-2024-6886/json

## Description

```text
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.
```

## Signals

- CVSS: 10 critical (v4.0, CVE.org) 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
- EPSS: 52.752%, percentile 98.997%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (exploit-database)

## Affected

- chainguard gitness (Chainguard): All versions (No fix recorded)
- wolfi gitness (Wolfi): All versions (No fix recorded)
- gitea gitea open source git server: 1.22.0
- code.gitea.io gitea (Go): \< 1.22.1

## References

- <https://github.com/go-gitea/gitea/pull/31200>
- <https://blog.gitea.com/release-of-1.22.1/>
- <https://github.com/go-gitea/gitea/>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6886.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-6886>
- <https://github.com/go-gitea/gitea/commit/b6280f4d21309cfae7cc07f74173354c664d5e10>
- <https://blog.gitea.com/release-of-1.22.1>
- <https://github.com/go-gitea/gitea>
- <https://pkg.go.dev/vuln/GO-2024-3056>
- <https://github.com/advisories/GHSA-4h4p-553m-46qh>

---

Data as of 2026-12-05T14:58:52.141Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
