CVE-2025-66040
Unknown Unknown - Not Provided

BaseFortify

Vulnerability report for CVE-2025-66040, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

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-07-06
AI Q&A
2025-11-27
EPSS Evaluated
2026-07-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 Quick Actions

Instant insights powered by AI
Impact Analysis

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.

Mitigation Strategies

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.

Executive Summary

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.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-66040. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart