CVE-2024-4940: Open Redirect in gradio-app/gradio

Published Jun 22, 2024
·
Updated

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 Software

2 affected components
pip/gradio<=4.36.1
Gradio Project Gradio Python=4.36.0

Event History

Jun 22, 2024
CVE Published
via MITRE·05:23 AM
Data Sourced
via MITRE·05:23 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·06:30 AM
Jun 17, 2026
Data Sourced
via NVD·08:03 AM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-4940?

CVE-2024-4940 is considered a high severity vulnerability due to its potential for exploitation in phishing and XSS attacks.

2

How do I fix CVE-2024-4940?

To remediate CVE-2024-4940, upgrade the gradio package to version 4.36.2 or later.

3

Who is affected by CVE-2024-4940?

CVE-2024-4940 affects users of the gradio package up to version 4.36.1.

4

What type of vulnerability is CVE-2024-4940?

CVE-2024-4940 is classified as an open redirect vulnerability.

5

Can CVE-2024-4940 lead to other types of attacks?

Yes, CVE-2024-4940 can be exploited to perform phishing attacks, XSS, and SSRF.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203