CVE-2025-66040
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-11-27

Last updated on: 2025-11-27

Assigner: GitHub, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-11-27
Last Modified
2025-11-27
Generated
2026-05-07
AI Q&A
2025-11-27
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
spotipy spotipy 2.25.2
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a cross-site scripting (XSS) issue in the Spotipy Python library's OAuth callback server prior to version 2.25.2. It allows attackers to inject arbitrary JavaScript through an unsanitized error parameter during OAuth authentication, which can then be executed in the user's browser.


How can this vulnerability impact me? :

The vulnerability can allow attackers to execute arbitrary JavaScript in the user's browser during OAuth authentication, potentially leading to unauthorized actions, data theft, or session hijacking within the context of the affected application.


What immediate steps should I take to mitigate this vulnerability?

Update the Spotipy library to version 2.25.2 or later, as this version contains the patch that fixes the cross-site scripting (XSS) vulnerability in the OAuth callback server.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart