{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-49264","id":"CVE-2026-49264","title":"OAuthLib: Unsafe JSONP callback injection in RevocationEndpoint allows arbitrary JavaScript response generation","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","descriptionLong":"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.","published":"2026-10-13T15:48:40.102Z","updated":"2026-10-28T02:31:09.725725067Z","reserved":"2026-05-28T14:33:01.180Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["oauthlib"],"affectedProducts":[{"vendor":"oauthlib","product":"oauthlib","defaultStatus":null,"versions":[{"version":">= 0.6.1, < 4.0.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"oauthlib","purl":"pkg:pypi/oauthlib","ranges":[">=0.6.1 <4.0.0"],"fixed":["4.0.0"],"advisory":"GHSA-hj66-6f7g-4r5v"}],"cwes":["CWE-79"],"aliases":["GHSA-hj66-6f7g-4r5v","PYSEC-2026-4113"],"references":[{"url":"https://github.com/oauthlib/oauthlib/security/advisories/GHSA-hj66-6f7g-4r5v","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/oauthlib/oauthlib/pull/951","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/oauthlib/oauthlib/commit/c888359f3c42bec235b2c5caab2069c9ed62457c","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/oauthlib/oauthlib/releases/tag/v4.0.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49264.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49264","tags":["advisory"]},{"url":"https://github.com/oauthlib/oauthlib","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/oauthlib/PYSEC-2026-4113.yaml","tags":["web"]},{"url":"https://pypi.org/project/oauthlib","tags":["package"]},{"url":"https://github.com/advisories/GHSA-hj66-6f7g-4r5v","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00234,"epssPercentile":0.14531,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-49264","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49264","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-49264","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hj66-6f7g-4r5v","ok":true,"note":"GHSA-hj66-6f7g-4r5v"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-49264","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}