Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
oauthlib oauthlib
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

OAuthLib 是用于 Python 3.6+ 的 OAuth 请求签名逻辑的实现。在版本 0.6.1 至 4.0.0 之间,OAuthLib 的 (位于 )在启用 时,会将未经验证的回调请求参数直接反射到成功和错误响应体中。该回调参数可来源于查询字符串或请求正文,并且在使用时未对其限制为合法的 JavaScript 函数名。因此,若浏览器应用程序将撤销响应作为可信的 JSONP 加载,并允许攻击者控制回调名称,则可能在该应用所属源上下文中执行由攻击者控制的 JavaScript 代码,从而访问其 DOM 和可通

CVSS 6.1 · Medium

Affected Version Matrix 1

VendorProduct Version RangeStatus
oauthlib oauthlib >= 0.6.1, < 4.0.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-49264

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
OAuthLib: Unsafe JSONP callback injection in RevocationEndpoint allows arbitrary JavaScript response generation
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
oauthlib oauthlib >= 0.6.1, < 4.0.0 -

II. Public POCs for CVE-2026-49264

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-49264

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-49264 (1)

Vendor Advisories for CVE-2026-49264 (1)

Other References for CVE-2026-49264 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-49264

No comments yet


Leave a comment