CVE-2025-25302

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-25302
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-25302.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-25302
Aliases
Published
2025-03-03T17:15:14Z
Modified
2025-04-09T17:59:22.986651Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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

Affected packages

Git / github.com/danielgatis/rembg

Affected ranges

Type
GIT
Repo
https://github.com/danielgatis/rembg
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected

Affected versions

v0.*

v0.0.0

v1.*

v1.0.31

v2.*

v2.0.0
v2.0.1
v2.0.10
v2.0.11
v2.0.12
v2.0.13
v2.0.14
v2.0.15
v2.0.16
v2.0.17
v2.0.18
v2.0.19
v2.0.2
v2.0.20
v2.0.21
v2.0.22
v2.0.23
v2.0.24
v2.0.25
v2.0.26
v2.0.27
v2.0.28
v2.0.29
v2.0.3
v2.0.30
v2.0.31
v2.0.32
v2.0.33
v2.0.34
v2.0.35
v2.0.36
v2.0.37
v2.0.38
v2.0.39
v2.0.4
v2.0.40
v2.0.41
v2.0.42
v2.0.43
v2.0.44
v2.0.45
v2.0.46
v2.0.47
v2.0.48
v2.0.49
v2.0.5
v2.0.50
v2.0.51
v2.0.52
v2.0.53
v2.0.54
v2.0.55
v2.0.56
v2.0.57
v2.0.6
v2.0.7
v2.0.8
v2.0.9