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

- Severity: Critical 10.0 (CVSS:4.0, scored by Gitea) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 52.8%, higher than 98% of CVEs (2026-12-01)
- Published: 2024-08-06T03:23:21.692Z
- Modified: 2026-09-10T03:50:18.079Z
- Also known as: GHSA-4h4p-553m-46qh, GO-2024-3056
- Related: CGA-9p39-j825-9pmx
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Gitea

## 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.

(As written by CVE List.)

## Affected

- Gitea Gitea Open Source Git Server: 1.22.0
- gitea gitea: 1.22.0
- code.gitea.io/gitea (Go): before 1.22.1

## Every score

- Gitea: CVSS:4.0 10.0 Critical `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`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `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`

## References

- <https://github.com/go-gitea/gitea/pull/31200> (web)
- <https://blog.gitea.com/release-of-1.22.1/>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-6886> (advisory)
- <https://github.com/go-gitea/gitea/commit/b6280f4d21309cfae7cc07f74173354c664d5e10> (web)
- <https://blog.gitea.com/release-of-1.22.1> (web)
- <https://github.com/go-gitea/gitea> (package)
- <https://pkg.go.dev/vuln/GO-2024-3056> (web)
- <https://github.com/advisories/GHSA-4h4p-553m-46qh> (advisory)

## Sources

- CVE List: [CVE-2024-6886](https://www.cve.org/CVERecord?id=CVE-2024-6886), CVE Terms of Use, modified 2024-08-06
- GitHub Advisory Database: [GHSA-4h4p-553m-46qh](https://github.com/advisories/GHSA-4h4p-553m-46qh), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-3056](https://pkg.go.dev/vuln/GO-2024-3056), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2024-6886](https://nvd.nist.gov/vuln/detail/CVE-2024-6886), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-6886 · Whole record: https://cve.day/CVE-2024-6886.json · Rebuilt by cve.day 2026-11-25T22:58:43.829Z
