Skip to main content
← All vulnerabilities
CVE-2025-66040PYSEC-2026-1937GHSA-R77H-RPP9-W2XM

Spotipy has a XSS vulnerability in OAuth callback server

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.25.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • spotipy-dev spotipy

    fixed in 2.25.2

  • spotipyPyPI

    fixed in 2.25.2

References 2

GitHub · spotipy-dev/spotipy