Gradio CORS Origin Validation Bypass Vulnerability
A vulnerability classified as problematic has been found in gradio-app gradio up to 5.29.1. This affects the function is_valid_origin of the component CORS Handler. The manipulation of the argument localhost_aliases leads to origin validation error. It is possible to initiate the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2025-5320US | —OT elevated | — | ||
A vulnerability classified as problematic has been found in gradio-app gradio up to 5.29.1. This affects the function is_valid_origin of the component CORS Handler. The manipulatio… | ||||
references
External citations — patches, advisories, analysis.
- https://gist.github.com/superboy-zjc/aa3dfa161d7b19d8a53ab4605792f2feWEB
- https://gist.github.com/superboy-zjc/aa3dfa161d7b19d8a53ab4605792f2fe#proof-of-concept-pocWEB
- https://github.com/gradio-app/gradioPACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2025-5320ADVISORY
- https://vuldb.com/?ctiid.310491WEB
- https://vuldb.com/?id.310491WEB
- https://vuldb.com/?submit.580250WEB
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan