CVE-2025-66040 LOW

CVE-2025-66040: Spotipy has a XSS vulnerability in OAuth callback server

Vendor Spotipy-Dev
Product spotipy
Weakness CWE-79 · XSS
Published November 26, 2025
Last update November 28, 2025

CVSS base score

3.6/10
Attack vector Local
Attack complexity High
Privileges required None
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

November 26, 2025 CVE published
November 28, 2025 Record updated