CVE-2025-66040

LOW CVSS 3.1: 3.6 EPSS 0.17%
Updated Oct 19, 2026
Python
Parameter Value
CVSS 3.6 (LOW)
Fixed In 2.25.2
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor Python
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
High
Difficult to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1