# CVE-2026-49264: OAuthLib: Unsafe JSONP callback injection in RevocationEndpoint allows arbitrary JavaScript response generation

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-29T17:53:41.000Z
- Modified: 2026-10-16T23:17:01.890Z
- Also known as: GHSA-hj66-6f7g-4r5v, PYSEC-2026-4113
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- oauthlib oauthlib: >= 0.6.1, < 4.0.0
- oauthlib (PyPI): from 0.6.1 before 4.0.0

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/oauthlib/oauthlib/security/advisories/GHSA-hj66-6f7g-4r5v> (exploit, web)
- <https://github.com/oauthlib/oauthlib/pull/951> (web)
- <https://github.com/oauthlib/oauthlib/commit/c888359f3c42bec235b2c5caab2069c9ed62457c> (web)
- <https://github.com/oauthlib/oauthlib/releases/tag/v4.0.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-49264> (advisory)
- <https://github.com/oauthlib/oauthlib> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/oauthlib/PYSEC-2026-4113.yaml> (web)
- <https://pypi.org/project/oauthlib> (package)
- <https://github.com/advisories/GHSA-hj66-6f7g-4r5v> (advisory)

## Sources

- CVE List: [CVE-2026-49264](https://www.cve.org/CVERecord?id=CVE-2026-49264), CVE Terms of Use, modified 2026-10-16
- GitHub Advisory Database: [GHSA-hj66-6f7g-4r5v](https://github.com/advisories/GHSA-hj66-6f7g-4r5v), CC-BY-4.0, modified 2026-10-13
- NVD: [CVE-2026-49264](https://nvd.nist.gov/vuln/detail/CVE-2026-49264), Public domain, modified 2026-10-16
- PyPA Advisory Database: [PYSEC-2026-4113](https://osv.dev/vulnerability/PYSEC-2026-4113), CC-BY-4.0, modified 2026-10-01

---

Page: https://cve.day/CVE-2026-49264 · Whole record: https://cve.day/CVE-2026-49264.json · Rebuilt by cve.day 2026-11-25T22:59:43.845Z
