CVE-2025-66040

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-66040
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-66040.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-66040
Aliases
Downstream
Published
2025-11-26T23:14:44.795Z
Modified
2025-11-28T19:49:24.174487Z
Severity
  • 3.6 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N CVSS Calculator
Summary
Spotipy has a XSS vulnerability in OAuth callback server
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Git / github.com/spotipy-dev/spotipy

Affected ranges

Type
GIT
Repo
https://github.com/spotipy-dev/spotipy
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

2.*

2.10.0
2.11.0
2.11.1
2.11.2
2.12.0
2.13.0
2.14.0
2.15.0
2.16.0
2.16.1
2.17.0
2.17.1
2.18.0
2.19.0
2.20.0
2.21.0
2.22.0
2.22.1
2.23.0
2.24.0
2.25.0
2.25.1
2.5.0
2.6.0
2.6.1
2.6.2
2.6.3
2.7.0
2.7.1
2.8.0
2.9.0