Live threats

All CVEs / spotipy-dev

CVE-2025-66040spotipy-dev spotipy

Low 3.6

Priority
22
CVSS 3.1
3.6
EPSS
—
Auth required
Yes
Published
Nov 27, 2025
Updated
Oct 19, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for spotipy.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI spotipy < 2.25.2 2.25.2 pip install "spotipy>=2.25.2"
PyPI spotipy < 2.25.2 2.25.2 pip install "spotipy>=2.25.2"

Per OSV / GitHub Advisories (GHSA-r77h-rpp9-w2xm, PYSEC-2026-1937). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.