Vulnerability record · brew
SiYuan before 3.8.12 MCP OAuth Mix-Up via Issuer-less Authorization Responses
brew
What it fixes
SiYuan before 3.8.12 contains an OAuth mix-up vulnerability in the MCP OAuth callback route that accepts state-valid authorization responses lacking the iss parameter despite metadata advertising issuer-response support. Malicious MCP operators can cross-wire authorization-server metadata so the honest issuer's code and PKCE verifier are sent to an attacker-controlled token endpoint, potentially obtaining tokens for user-approved scopes.
Manual fix · brew
Sources