VULNERABILITY INTELLIGENCE
CVE-2025-25302
CVSS score6.5 MEDIUM
EPSS probability0.19%
CISA KEVNot currently listed
Published2025-03-03
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
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.
Weakness classification
- security-advisories@github.com: CWE-346
- nvd@nist.gov: CWE-346
Primary references
- security-advisories@github.com — Product
- security-advisories@github.com — Exploit, Third Party Advisory