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


Severity

Recommended
0.0
high
0
10

CVSS assessment made 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-REMBG-9296365
  • published6 Mar 2025
  • disclosed3 Mar 2025
  • creditKevin Stubbings

Introduced: 3 Mar 2025

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

How to fix?

There is no fixed version for rembg.

Overview

rembg is a Remove image background

Affected versions of this package are vulnerable to Origin Validation Error in the add_middleware() function in s_command.py, which reflects all origins by default. Due to the allow_credentials=True setting, an attacker can send authenticated cross-site requests and access unintended APIs.

CVSS Base Scores

version 4.0
version 3.1