Origin Validation Error Affecting gradio package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-GRADIO-10265013
  • published30 May 2025
  • disclosed29 May 2025
  • creditsuperboy-zjc

Introduced: 29 May 2025

NewCVE-2025-5320  (opens in a new tab)
CWE-346  (opens in a new tab)

How to fix?

There is no fixed version for gradio.

Overview

gradio is a Python library for easily interacting with trained machine learning models

Affected versions of this package are vulnerable to Origin Validation Error through the is_valid_origin function. An attacker can manipulate the origin validation by altering the localhost_aliases argument.

References

CVSS Base Scores

version 4.0
version 3.1