CVE-2026-49264
6.1MediumPublished Oct 13, 2026 · NVD status: Deferred · AI triage by gemini-3.8-flash
Medium
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- Required
- Impact
- Limited impact
- Weakness
- CWE-79
What an attacker gets
Remote attackers can execute arbitrary JavaScript in a victim's browser session via cross-site scripting. Exploitation requires user interaction with an application that explicitly turns on JSONP on the token revocation endpoint.
Root cause
The RevocationEndpoint reflects the user-supplied callback parameter directly into JSONP responses without validating that it is a legal JavaScript function identifier.
Affected versions
OAuthLib 0.6.1 through 3.2.2 (versions prior to 4.0.0)
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Fix & remediation
Upgrade to OAuthLib 4.0.0 or later. If upgrading is delayed, disable JSONP support by ensuring enable_jsonp remains False (the default) on the RevocationEndpoint.
$ pip install --upgrade 'oauthlib>=4.0.0'AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
OAuthLib is an implementation of the OAuth request-signing logic for Python 3.6+. From 0.6.1 until 4.0.0, OAuthLib's RevocationEndpoint in oauthlib/oauth2/rfc6749/endpoints/revocation.py reflects an unvalidated callback request parameter into success and error response bodies when enable_jsonp=True. The callback can come from the query string or request body and is used without restricting it to a legal JavaScript function name. A browser application that loads the revocation response as trusted JSONP and permits attacker influence over callback can therefore execute attacker-controlled JavaScript in the including application's origin, with access to its DOM and script-accessible data. The feature is disabled by default, so only deployments that explicitly enable JSONP are affected. This issue is fixed in version 4.0.0.
References
- https://github.com/oauthlib/oauthlib/commit/c888359f3c42bec235b2c5caab2069c9ed62457c
- https://github.com/oauthlib/oauthlib/pull/951
- https://github.com/oauthlib/oauthlib/releases/tag/v4.0.0
- https://github.com/oauthlib/oauthlib/security/advisories/GHSA-hj66-6f7g-4r5v
- https://github.com/oauthlib/oauthlib/security/advisories/GHSA-hj66-6f7g-4r5v
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-927288.1HighAdjacent attackers can corrupt memory and potentially execute code during the boot process by sending malicious DNS responses. This requires the target to perform DNS resolution while using GRUB2.
- CVE-2026-648868.3HighAuthenticated users can read arbitrary local files and perform server-side request forgery. This allows attackers to steal credentials from environment variables or access internal network services.
- CVE-2026-648839.4CriticalAuthenticated attackers can achieve remote code execution and read sensitive files like signing keys. This is possible because the WebDAV interface fails to restrict file operations to the temporary directory.
- CVE-2026-1448137.5HighRemote attackers can crash the RTSP service, causing a denial of service. No authentication is required to trigger this flaw.
- CVE-2026-775269.9CriticalAuthenticated attackers can achieve remote code execution by uploading malicious files. They can escape the intended directory and overwrite system files because of improper path sanitization.
- CVE-2026-1444127.5HighUnauthenticated attackers can crash the GotaTun service by sending a single oversized UDP packet. This stops all inbound handshakes and data traffic for all peers.