CVE-2025-66040
Spotipy has a XSS vulnerability in its OAuth callback server
3.6
LOW
CVSS 3.1
EPSS 0.02%
Description
Spotipy is a Python library for the Spotify Web API. Prior to version 2.25.2, there is a cross-site scripting (XSS) vulnerability in the OAuth callback server that allows for JavaScript injection through the unsanitized error parameter. Attackers can execute arbitrary JavaScript in the user's browser during OAuth authentication. This issue has been patched in version 2.25.2.
How to fix CVE-2025-66040
To remediate CVE-2025-66040, upgrade the affected package to a fixed version below.
- —no fix listed
- —upgrade to 2.25.2 or later
Is CVE-2025-66040 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0
- from 0, < 2.25.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | LOW3.6 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N |