Description
New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system. Prior to 0.12.0-alpha.1, the email and WeChat account binding endpoints GET /api/oauth/email/bind and GET /api/oauth/wechat/bind used GET requests for state-changing account operations, allowing an attacker to trigger a logged-in user's browser to bind an attacker-controlled email address or OAuth identity in deployments where session cookies could be sent on cross-site navigations. This issue is fixed in version 0.12.0-alpha.1.
Problem types
CWE-352: Cross-Site Request Forgery (CSRF)
Product status
References
github.com/...ew-api/security/advisories/GHSA-26v7-h57m-gh9m
github.com/...ommit/e099117c61391abdf888fb75e382a582e550bd0e
github.com/QuantumNous/new-api/releases/tag/v0.12.0-alpha.1