CVE-2025-25302
MEDIUMrembg < 2.0.57 - Origin Validation Error in CORS Middleware
Title source: llmDescription
Rembg is a tool to remove images background. In Rembg 2.0.57 and earlier, the CORS middleware is setup incorrectly. All origins are reflected, which allows any website to send cross site requests to the rembg server and thus query any API. Even if authentication were to be enabled, allow_credentials is set to True, which would allow any website to send authenticated cross site requests.
References (2)
Core 2
Core References
Exploit, Third Party Advisory x_refsource_confirm
https://securitylab.github.com/advisories/GHSL-2024-161_GHSL-2024-162_rembg/
Scores
CVSS v3
6.5
EPSS
0.0018
EPSS Percentile
7.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-346
Status
published
Products (2)
danielgatis/rembg
< 2.0.57
pypi/rembg
0PyPI
Published
Mar 03, 2025
Tracked Since
Feb 18, 2026