Lucene search
+L

Gitea 1.22.0 Cross Site Scripting

🗓️ 29 Aug 2024 00:00:00Reported by Catalin Iovita, Alexandru PostolacheType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 901 Views

Gitea 1.22.0 Stored Cross-Site Scripting (XSS) Vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
zdt
zdt
Gitea 1.22.0 - Stored XSS Vulnerability
28 Aug 202400:00
–zdt
bdu_fstec
BDU FSTEC
Gitea XSS
16 Aug 202400:00
–bdu_fstec
circl
Circl
CVE-2024-6886
6 Aug 202407:28
–circl
cnnvd
CNNVD
Gitea cross-site scripting vulnerability
6 Aug 202400:00
–cnnvd
cve
CVE
CVE-2024-6886
6 Aug 202403:23
–cve
cvelist
Cvelist
CVE-2024-6886 Inproper Sanitation of field leading to stored XSS
6 Aug 202403:23
–cvelist
exploitdb
Exploit DB
Gitea 1.22.0 - Stored XSS
28 Aug 202400:00
–exploitdb
euvd
EUVD
EUVD-2024-2490
3 Oct 202520:07
–euvd
github
Github Security Blog
Gitea Cross-site Scripting Vulnerability
6 Aug 202406:30
–github
gitlab
GitLab Advisory Database
Gitea Cross-site Scripting Vulnerability
6 Aug 202400:00
–gitlab
Rows per page
`# Exploit Title: Stored XSS in Gitea  
# Date: 27/08/2024  
# Exploit Authors: Catalin Iovita & Alexandru Postolache  
# Vendor Homepage: (https://github.com/go-gitea/gitea)  
# Version: 1.22.0  
# Tested on: Linux 5.15.0-107, Go 1.23.0  
# CVE: CVE-2024-6886  
  
## Vulnerability Description  
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.  
  
## Steps to Reproduce  
1. Log in to the application.  
2. Create a new repository or modify an existing repository by clicking the Settings button from the `$username/$repo_name/settings` endpoint.  
3. In the Description field, input the following payload:  
  
<a href=javascript:alert()>XSS test</a>  
  
4. Save the changes.  
5. Upon clicking the repository description, the payload was successfully injected in the Description field. By clicking on the message, an alert box will appear, indicating the execution of the injected script.  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

29 Aug 2024 00:00Current
7High risk
Vulners AI Score7
CVSS 410
EPSS0.32968
SSVC
901