{"cve":"CVE-2026-49264","nvd":{"published":"2026-10-13T16:17:20.560","modified":"2026-10-16T23:17:01.890","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"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"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:58:52.678897993+00:00"},"epss":{"cve":"CVE-2026-49264","score":0.00234,"percentile":0.14217,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-hj66-6f7g-4r5v","url":"https://osv.dev/vulnerability/GHSA-hj66-6f7g-4r5v","summary":"Oauthlib : Unsafe JSONP callback injection in RevocationEndpoint allows arbitrary JavaScript response generation","modified":"2026-10-13T16:00:32.098776410Z","packages":[{"ecosystem":"PyPI","name":"oauthlib","purl":"pkg:pypi/oauthlib","ranges":[">=0.6.1 <4.0.0"],"fixed":["4.0.0"]}]},{"id":"PYSEC-2026-4113","url":"https://osv.dev/vulnerability/PYSEC-2026-4113","summary":"Oauthlib : Unsafe JSONP callback injection in RevocationEndpoint allows arbitrary JavaScript response generation","modified":"2026-10-01T17:45:09.269008793Z","packages":[{"ecosystem":"PyPI","name":"oauthlib","purl":"pkg:pypi/oauthlib","ranges":[">=0.6.1 <4.0.0"],"fixed":["4.0.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}