Advisory

GHSA-g6c9-f4xm-9j4x

Also known as: CVE-2024-4940, PYSEC-2026-1414

Summary

Open redirect in gradio

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-06-22 06:30 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

gradio

PyPI · All systems

Affected

  • introduced 0, last affected 4.36.1 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences