{"id":"CVE-2026-49264","published":"2026-10-13T15:48:40Z","modified":"2026-10-16T22:04:46Z","title":"OAuthLib: Unsafe JSONP callback injection in RevocationEndpoint allows arbitrary JavaScript response generation","vendor":"oauthlib","product":"oauthlib","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00234,"percentile":0.14645,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-hj66-6f7g-4r5v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/oauthlib/oauthlib/pull/951","tags":["x_refsource_MISC"]},{"url":"https://github.com/oauthlib/oauthlib/commit/c888359f3c42bec235b2c5caab2069c9ed62457c","tags":["x_refsource_MISC"]},{"url":"https://github.com/oauthlib/oauthlib/releases/tag/v4.0.0","tags":["x_refsource_MISC"]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":2.93},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"oauthlib","affectedVersions":[{"vendor":"oauthlib","product":"oauthlib","versions":[">= 0.6.1, < 4.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-16T22:04:19.260810Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"oauthlib","vulnerableRanges":[">=0.6.1, <4.0.0"],"patched":["4.0.0"],"from":["GHSA-hj66-6f7g-4r5v","PYSEC-2026-4113"],"provenance":"source"}],"summary":{"text":"The RevocationEndpoint in OAuthLib (the oauthlib Python package, versions 0.6.1 through 4.0.0) reflects an unvalidated JSONP callback parameter into its success and error responses when enable_jsonp is set, which is disabled by default. An attacker who can influence the callback value and get a browser application to load the revocation response as trusted JSONP can run arbitrary JavaScript in that application's origin, which requires user interaction and the affected JSONP configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:14:59Z"},"euvd":{"id":"EUVD-2026-98834","exploited":false,"provenance":"source"}}