CVE-2025-66040
published low CVSS 3.1 · 3.6Spotipy has a XSS vulnerability in OAuth callback server
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| spotipy-dev | — | spotipy< 2.25.2 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-spotipyaarch64 | Advisory build | 2.25.2-1.1 | OPENSUSE-SU-2025:15777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-spotipyppc64le | Advisory build | 2.25.2-1.1 | OPENSUSE-SU-2025:15777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-spotipys390x | Advisory build | 2.25.2-1.1 | OPENSUSE-SU-2025:15777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-spotipyx86_64 | Advisory build | 2.25.2-1.1 | OPENSUSE-SU-2025:15777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-spotipyaarch64 | Advisory build | 2.25.2-1.1 | OPENSUSE-SU-2025:15777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-spotipyppc64le | Advisory build | 2.25.2-1.1 | OPENSUSE-SU-2025:15777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-spotipys390x | Advisory build | 2.25.2-1.1 | OPENSUSE-SU-2025:15777-1 |
Show 5 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-spotipyx86_64 | Advisory build | 2.25.2-1.1 | OPENSUSE-SU-2025:15777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-spotipyaarch64 | Advisory build | 2.25.2-1.1 | OPENSUSE-SU-2025:15777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-spotipyppc64le | Advisory build | 2.25.2-1.1 | OPENSUSE-SU-2025:15777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-spotipys390x | Advisory build | 2.25.2-1.1 | OPENSUSE-SU-2025:15777-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-spotipyx86_64 | Advisory build | 2.25.2-1.1 | OPENSUSE-SU-2025:15777-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.6 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| spotipy-dev | spotipy | < 2.25.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2Provider assertions
2GitHub_M · cna
Spotipy has a XSS vulnerability in OAuth callback server
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1e2f84a921c3b27ed8a11c554378c1ae8e1cbbc7b4995d0eabf28b196832b956
- Ingested
- 23 Sep 2026, 08:56:20 UTC
- Source record
- Official CVE record