Home

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.

PUBLISHED Reserved 2025-11-21 | Published 2025-11-26 | Updated 2025-11-26 | Assigner GitHub_M




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

Problem types

CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

< 2.25.2
affected

References

github.com/...potipy/security/advisories/GHSA-r77h-rpp9-w2xm

github.com/...ommit/880b92d7243dcf2b83bf31dc365a858d8b5e6767

cve.org (CVE-2025-66040)

nvd.nist.gov (CVE-2025-66040)

Download JSON