CVE Catalog

CVE-2026-49264

Medium
Published: —Translated: NVD NIST

Summary

When `enable_jsonp=True`, oauthlib's `RevocationEndpoint` reflects the user-supplied `callback` parameter directly into JavaScript response bodies on both success and error paths without validating that it is a legal JSONP callback name. This allows arbitrary JavaScript response generation.

Risk Assessment

An attacker can exploit this to inject malicious scripts, potentially leading to XSS attacks or data theft in the context of applications using oauthlib.

Recommendation

Disable JSONP support if not required, and add validation of the `callback` parameter to allow only legal function names (e.g., matching `[A-Za-z0-9_.]+`).

Other vulnerabilities in oauthlib

Original NVD description (English source)

### Summary When `enable_jsonp=True`, oauthlib's `RevocationEndpoint` reflects the user-supplied `callback` parameter directly into JavaScript response bodies on both success and error paths without validating that it is a legal JSONP callback name. This allows arbitrary JavaScript response generat

Vulnerability data from NVD (NIST) · CISA KEV · EPSS