CVE-2026-49264
published medium CVSS 3.1 · 6.1OAuthLib: Unsafe JSONP callback injection in RevocationEndpoint allows arbitrary JavaScript response generation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| oauthlib | — | oauthlib>= 0.6.1, < 4.0.0 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP4 | python311-oauthlibnoarch | Advisory build | 3.2.2-150400.12.10.1 | SUSE-SU-2026:4810-1 |
| Ubuntu | bionic | python-oauthlib | Advisory build | 2.0.6-1ubuntu0.1~esm1 | USN-9188-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-oauthlibnoarch | Advisory build | 2.0.6-150000.3.9.1 | SUSE-SU-2026:4807-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-oauthlibnoarch | Advisory build | 3.2.2-150400.12.10.1 | SUSE-SU-2026:4810-1 |
| SUSE / openSUSE | SLE-16 | python313-oauthlibnoarch | Advisory build | 3.2.2-160000.3.1 | SUSE-SU-2026:24246-1 |
Show 25 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-3-SP7 | python311-oauthlibnoarch | Advisory build | 3.2.2-150400.12.10.1 | SUSE-SU-2026:4810-1 |
| SUSE / openSUSE | SLE-5 | python2-oauthlibnoarch | Advisory build | 2.0.6-150000.3.9.1 | SUSE-SU-2026:4807-1 |
| SUSE / openSUSE | SLE-5 | python3-oauthlibnoarch | Advisory build | 2.0.6-150000.3.9.1 | SUSE-SU-2026:4807-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-oauthlibnoarch | Advisory build | 3.2.2-160000.3.1 | OPENSUSE-SU-2026:22103-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-oauthlibaarch64 | Advisory build | 4.0.0-1.1 | OPENSUSE-SU-2026:11973-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-oauthlibppc64le | Advisory build | 4.0.0-1.1 | OPENSUSE-SU-2026:11973-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-oauthlibs390x | Advisory build | 4.0.0-1.1 | OPENSUSE-SU-2026:11973-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-oauthlibx86_64 | Advisory build | 4.0.0-1.1 | OPENSUSE-SU-2026:11973-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-oauthlibaarch64 | Advisory build | 4.0.0-1.1 | OPENSUSE-SU-2026:11973-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-oauthlibppc64le | Advisory build | 4.0.0-1.1 | OPENSUSE-SU-2026:11973-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-oauthlibs390x | Advisory build | 4.0.0-1.1 | OPENSUSE-SU-2026:11973-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-oauthlibx86_64 | Advisory build | 4.0.0-1.1 | OPENSUSE-SU-2026:11973-1 |
| Ubuntu | bionic | python3-oauthlib | Advisory build | 2.0.6-1ubuntu0.1~esm1 | USN-9188-1 |
| Ubuntu | focal | python-oauthlib | Advisory build | 3.1.0-1ubuntu2+esm1 | USN-9188-1 |
| Ubuntu | focal | python3-oauthlib | Advisory build | 3.1.0-1ubuntu2+esm1 | USN-9188-1 |
| Ubuntu | jammy | python-oauthlib | Advisory build | 3.2.0-1ubuntu0.2 | USN-9188-1 |
| Ubuntu | jammy | python3-oauthlib | Advisory build | 3.2.0-1ubuntu0.2 | USN-9188-1 |
| Ubuntu | noble | python-oauthlib | Advisory build | 3.2.2-1ubuntu0.1 | USN-9188-1 |
| Ubuntu | noble | python3-oauthlib | Advisory build | 3.2.2-1ubuntu0.1 | USN-9188-1 |
| Ubuntu | resolute | python-oauthlib | Advisory build | 3.3.1-1ubuntu0.1 | USN-9188-1 |
| Ubuntu | resolute | python3-oauthlib | Advisory build | 3.3.1-1ubuntu0.1 | USN-9188-1 |
| Ubuntu | stonking | python-oauthlib | Advisory build | 3.3.1-2ubuntu0.1 | USN-9188-1 |
| Ubuntu | stonking | python3-oauthlib | Advisory build | 3.3.1-2ubuntu0.1 | USN-9188-1 |
| Ubuntu | xenial | python-oauthlib | Advisory build | 1.0.3-1ubuntu0.1~esm1 | USN-9188-1 |
| Ubuntu | xenial | python3-oauthlib | Advisory build | 1.0.3-1ubuntu0.1~esm1 | USN-9188-1 |
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.
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
- 6.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| oauthlib | oauthlib | >= 0.6.1, < 4.0.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
4Provider assertions
2GitHub_M · cna
OAuthLib: Unsafe JSONP callback injection in RevocationEndpoint allows arbitrary JavaScript response generation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e818cfc1ec5dcc811ddafb313dea7a41b4cd498ee9b5e96ed2c6c30d2fb7420f
- Ingested
- 16 Oct 2026, 22:21:10 UTC
- Source record
- Official CVE record