PT-2025-23161

CVE-2025-5320

·

Published

2025-05-29

·

Updated

2026-07-07

Description by

CVSS 3.1
3.7
Low
MetricsAV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions gradio-app gradio versions up to 5.29.1
Description A problematic vulnerability has been found in the CORS Handler component, specifically affecting the is valid origin function. The issue arises from the manipulation of the localhost aliases argument, leading to an origin validation error. This vulnerability can be exploited remotely, with a relatively high complexity of attack and difficult exploitability. The exploit has been publicly disclosed.
Recommendations For versions up to 5.29.1, as a temporary workaround, consider restricting the use of the is valid origin function in the CORS Handler component until a patch is available. Additionally, be cautious when using the localhost aliases argument to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Vendors
Affected products
Related identifiers
GHSA-WMJH-CPQJ-4V6X
PYSEC-2026-1423
Found an issue in the description? Have something to add? Feel free to write us 👾