CVE-2025-66040

Spotipy has a XSS vulnerability in OAuth callback server

Published Nov 26, 2025 CVSS 3.1 · 3.6 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-r77h-rpp9-w2xm Spotipy has a XSS vulnerability in its OAuth callback server
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Spotipy Project
Spotipy Project spotipy
Vendors & Products Spotipy Project
Spotipy Project spotipy
Type Values Removed Values Added
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.
Title Spotipy has a XSS vulnerability in OAuth callback server
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 3.6, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 28, 2025, 3:25 PM
Reserved
Nov 21, 2025, 1:08 AM
Status
Deferred
Published
Nov 27, 2025, 12:15 AM
Modified
Oct 19, 2026, 1:10 PM