vendor:
Gitea
by:
Catalin Iovita & Alexandru Postolache
6.1
CVSS
HIGH
Stored Cross-Site Scripting (XSS)
79
CWE
Product Name: Gitea
Affected Version From: 1.22.0
Affected Version To: 1.22.0
Patch Exists: NO
Related CWE: CVE-2024-6886
CPE: a:go-gitea:gitea:1.22.0
Platforms Tested: Linux
2024
Stored XSS in Gitea
Gitea version 1.22.0 is susceptible to a Stored Cross-Site Scripting (XSS) vulnerability. This security flaw enables a malicious actor to insert harmful scripts that are stored on the server and run within the context of another user's session.
Mitigation:
To mitigate this vulnerability, it is recommended to sanitize and validate user inputs to prevent the injection of malicious scripts. Additionally, implementing content security policy (CSP) headers can help mitigate the impact of XSS attacks.