CVE-2026-49264 Details
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.
A vulnerability exists in OAuthLib's RevocationEndpoint, specifically in versions 0.6.1 prior to 4.0.0. When the JSONP feature is enabled, the endpoint reflects an unvalidated callback parameter into the response body, allowing for the execution of attacker-controlled JavaScript in the context of the including application. This issue arises because the callback parameter, sourced from the query string or request body, is used without proper validation, creating a risk of cross-origin script injection. The vulnerability is only present in deployments that explicitly enable JSONP, a feature intended for legacy browser support.
Users can upgrade to OAuthLib version 4.0.0, which removes JSONP support from the token revocation endpoint. Instructions for updating can be found in the OAuthLib repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 13, 2026CISA-ADP
Assessed Oct 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/oauthlib/oauthlib/security/advisories/GHSA-hj66-6f7g-4r5v | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/oauthlib/oauthlib/commit/c888359f3c42bec235b2c5caab2069c9ed62457c | [email protected] | Source CodeVendor |
| https://github.com/oauthlib/oauthlib/pull/951 | [email protected] | Source CodeVendor |
| https://github.com/oauthlib/oauthlib/releases/tag/v4.0.0 | [email protected] | Release NotesVendor |
| https://github.com/oauthlib/oauthlib/security/advisories/GHSA-hj66-6f7g-4r5v | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| OAuthLib | >= 0.6.1, <= 3.3.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 16, 2026 | CVE Modified | CISA-ADP |
| Oct 13, 2026 | New CVE Received | [email protected] |
Volerion