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

CVE-2024-6886 affects 1 listed version of Gitea in the Dawnsentry catalogue.

10.0CVSS critical
Proof of concept publicexploitation
53%EPSS (next 30 days)
6 August 2024published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Gitea

1 of 124 listed versions are affected. Fixed in 1.22.1. The newest release, 28.4.0, is not affected.

1.22.0

What it is

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.

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 (Gitea)

Published by Gitea on 6 August 2024. Last changed 17 June 2026. Exploit code is public (Metasploit or Nuclei).

Sources

Check one version you run: look CVE-2024-6886 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.