CVE-2024-6886
Inproper Sanitation of field leading to stored XSS
Record summary
CVE-2024-6886 has a selected CVSS score of 10.0 (critical); EIP currently links 1 Nuclei template.
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.
Exploitation context
Available material
- Nuclei templates
- 1
CISA SSVC decision
CISA Coordinator · SSVC 2.0.3 · Evaluated Aug 6, 2024 · Source: CVE List
Affected products and versions
3| Product | Source | Version range | Status |
|---|---|---|---|
Gitea Open Source Git ServerBrowse Gitea / Gitea Open Source Git ServerDefault status: unaffected | CVE List | 1.22.0 | affected |
giteaBrowse gitea / giteaDefault status: unaffected | CVE List | 1.22.0 | affected |
code.gitea.io/giteaBrowse Go / code.gitea.io/gitea | GitHub Advisory | Before 1.22.1 · Fixed in 1.22.1 | affected |
Nuclei templates
1ProjectDiscoveryMEDIUMGitea 1.22.0 - Cross-Site ScriptingCVSS 6.7
Gitea 1.22.0 is vulnerable to a Stored Cross-Site Scripting (XSS) vulnerability. This vulnerability allows an attacker to inject malicious scripts that get stored on the server and executed in the context of another user's session.
Impact
Authenticated attackers can inject malicious JavaScript into repository descriptions that executes in the context of other users' sessions when they view the repository.
Remediation
Update Gitea to version 1.22.1 or later to address the stored XSS vulnerability.
Source: ProjectDiscovery