Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-47872

5.4 · MEDIUM
Published Oct 10, 2024 gradio_project CWE-79 EPSS 0.26% (17th pctl)

Overview

CVE-2024-47872 is a medium-severity vulnerability affecting gradio_project gradio. It was published on October 10, 2024 and has a CVSS 3.1 base score of 5.4 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.4, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves **Cross-Site Scripting (XSS)** on any Gradio server that allows file uploads. Authenticated users can upload files such as HTML, JavaScript, or SVG files containing malicious scripts. When other users download or view these files, the scripts will execute in their browser, allowing attackers to perform unauthorized actions or steal sensitive information from their sessions. This impacts any Gradio server that allows file uploads, particularly those using components that process or display user-uploaded files. Users are advised to upgrade to `gradio>=5` to address this issue. As a workaround, users can restrict the types of files that can be uploaded to the Gradio server by limiting uploads to non-executable file types such as images or text. Additionally, developers can implement server-side validation to sanitize uploaded files, ensuring that HTML, JavaScript, and SVG files are properly

Remediation

Check the references section for vendor advisories and patches from gradio_project. Update gradio to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
gradio_project gradio >= 0, < 5.0.0 Affected

Frequently Asked Questions

What is CVE-2024-47872?

CVE-2024-47872 is a medium-severity vulnerability affecting gradio_project gradio. It was published on October 10, 2024 and has a CVSS 3.1 base score of 5.4 (MEDIUM).

How severe is CVE-2024-47872?

This vulnerability has a CVSS 3.1 base score of 5.4, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-47872?

Check the references section for vendor advisories and patches from gradio_project. Update gradio to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-47872?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-47872 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.