Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2025-66040
November 26, 2025
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.
Affected Packages
spotipy (CONDA):
Affected version(s) >=2.16.1 <2.25.2
Fix Suggestion:
Update to version 2.25.2
https://github.com/spotipy-dev/spotipy.git (GITHUB):
Affected version(s) >=2.5.0 <2.25.2
Fix Suggestion:
Update to version 2.25.2
spotipy (PYTHON):
Affected version(s) >=0.1 <2.25.2
Fix Suggestion:
Update to version 2.25.2
spotipy (PYTHON):
Affected version(s) >=0.1 <2.25.2
Fix Suggestion:
Update to version 2.25.2
Do you need more information?
Contact Us
CVSS v4
Base Score:
2
Attack Vector
LOCAL
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
3.6
Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
EPSS
Base Score:
0.03