CORS Handling Flaw in Gradio by Gradio-App
CVE-2025-5320

6.3MEDIUM

Key Information:

Vendor

Gradio-app

Status
Vendor
CVE Published:
29 May 2025

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

What is CVE-2025-5320?

A security vulnerability has been identified in Gradio by Gradio-App, specifically affecting versions up to 5.29.1. The flaw resides in the CORS Handler's function 'is_valid_origin', where improper handling of the 'localhost_aliases' argument leads to origin validation errors. This weakness allows attackers to potentially exploit the application remotely. The complexity of successfully executing an attack is considered high, and despite public disclosure, the vendor has not responded to the report.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.

Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.

Affected Version(s)

gradio 5.29.0

gradio 5.29.1

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
6.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

Gavin Zhong (VulDB User)
.