ADVISORIES

GitHub Advisory Database

GHSA-g6c9-f4xm-9j4x

Open redirect in gradio

Moderate No fix available CVE-2024-4940PYSEC-2026-1414

Details

An open redirect vulnerability exists in the gradio-app/gradio, affecting the latest version. The vulnerability allows an attacker to redirect users to arbitrary websites, which can be exploited for phishing attacks, Cross-site Scripting (XSS), Server-Side Request Forgery (SSRF), amongst others. This issue is due to improper validation of user-supplied input in the handling of URLs. Attackers can exploit this vulnerability by crafting a malicious URL that, when processed by the application, redirects the user to an attacker-controlled web page.

Affected packages

EcosystemPackageAffected versions
PyPIgradio
All versions up to and including 4.36.1

References