Skip to content

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

LowCVSS 3.6 EPSS 0.17%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
pypi spotipy(PyPI) < 2.25.2 2.25.2
pypi spotipy(PyPI) = 0.1 No fix listed
pypi spotipy(PyPI) = 0.2 No fix listed
pypi spotipy(PyPI) = 2.0.1 No fix listed
pypi spotipy(PyPI) = 2.0.2 No fix listed
pypi spotipy(PyPI) = 2.1.0 No fix listed
pypi spotipy(PyPI) = 2.10.0 No fix listed
pypi spotipy(PyPI) = 2.11.0 No fix listed
pypi spotipy(PyPI) = 2.11.1 No fix listed
pypi spotipy(PyPI) = 2.11.2 No fix listed
pypi spotipy(PyPI) = 2.12.0 No fix listed
pypi spotipy(PyPI) = 2.13.0 No fix listed
pypi spotipy(PyPI) = 2.14.0 No fix listed
pypi spotipy(PyPI) = 2.15.0 No fix listed
pypi spotipy(PyPI) = 2.16.0 No fix listed
pypi spotipy(PyPI) = 2.16.1 No fix listed
pypi spotipy(PyPI) = 2.17.0 No fix listed
pypi spotipy(PyPI) = 2.17.1 No fix listed
pypi spotipy(PyPI) = 2.18.0 No fix listed
pypi spotipy(PyPI) = 2.19.0 No fix listed
pypi spotipy(PyPI) = 2.19.0rc1 No fix listed
pypi spotipy(PyPI) = 2.2.0 No fix listed
pypi spotipy(PyPI) = 2.20.0 No fix listed
pypi spotipy(PyPI) = 2.21.0 No fix listed
pypi spotipy(PyPI) = 2.22.0 No fix listed
Show 36 more
ProductAffected versionsFixed in
pypi spotipy(PyPI) = 2.22.1 No fix listed
pypi spotipy(PyPI) = 2.23.0 No fix listed
pypi spotipy(PyPI) = 2.24.0 No fix listed
pypi spotipy(PyPI) = 2.25.0 No fix listed
pypi spotipy(PyPI) = 2.25.1 No fix listed
pypi spotipy(PyPI) = 2.3.0 No fix listed
pypi spotipy(PyPI) = 2.3.2 No fix listed
pypi spotipy(PyPI) = 2.3.3 No fix listed
pypi spotipy(PyPI) = 2.3.4 No fix listed
pypi spotipy(PyPI) = 2.3.5 No fix listed
pypi spotipy(PyPI) = 2.3.6 No fix listed
pypi spotipy(PyPI) = 2.3.7 No fix listed
pypi spotipy(PyPI) = 2.3.8 No fix listed
pypi spotipy(PyPI) = 2.4.0 No fix listed
pypi spotipy(PyPI) = 2.4.1 No fix listed
pypi spotipy(PyPI) = 2.4.2 No fix listed
pypi spotipy(PyPI) = 2.4.3 No fix listed
pypi spotipy(PyPI) = 2.4.4 No fix listed
pypi spotipy(PyPI) = 2.5.0 No fix listed
pypi spotipy(PyPI) = 2.6.0 No fix listed
pypi spotipy(PyPI) = 2.6.1 No fix listed
pypi spotipy(PyPI) = 2.6.2 No fix listed
pypi spotipy(PyPI) = 2.6.3 No fix listed
pypi spotipy(PyPI) = 2.7.0 No fix listed
pypi spotipy(PyPI) = 2.7.1 No fix listed
pypi spotipy(PyPI) = 2.8.0 No fix listed
pypi spotipy(PyPI) = 2.9.0 No fix listed
debian/spotipy(Debian:13) All versions No fix listed
debian/spotipy(Debian:13) = 2.25.1-1 No fix listed
debian/spotipy(Debian:13) = 2.25.2-1 No fix listed
debian/spotipy(Debian:13) = 2.26.0-1 No fix listed
debian/spotipy(Debian:14) < 2.25.2-1 2.25.2-1
debian/spotipy(Debian:14) = 2.25.1-1 No fix listed
spotipy-dev spotipy = < 2.25.2 No fix listed
ubuntu/spotipy(Ubuntu:26.04) All versions No fix listed
ubuntu/spotipy(Ubuntu:26.10) All versions No fix listed

References