Skip to content

Open redirect in gradio

Moderate severity GitHub Reviewed Published Jun 22, 2024 to the GitHub Advisory Database • Updated Jun 24, 2024

Package

pip gradio (pip)

Affected versions

<= 4.36.1

Patched versions

None

Description

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.

References

Published by the National Vulnerability Database Jun 22, 2024
Published to the GitHub Advisory Database Jun 22, 2024
Reviewed Jun 24, 2024
Last updated Jun 24, 2024

Severity

Moderate
5.4
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2024-4940

GHSA ID

GHSA-g6c9-f4xm-9j4x

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.