TROYANOSYVIRUS
Back to CVEs

CVE-2025-25302

MEDIUM
6.5

Description

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.

CVE Details

CVSS v3.1 Score6.5
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published3/3/2025
Last Modified3/21/2025
Sourcenvd
Honeypot Sightings0

Affected Products

danielgatis:rembg

Weaknesses (CWE)

CWE-346CWE-346

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.