CVE-2026-142014: usememos OAuth2 Identity Provider SSO IdentityProviderButtons.tsx handleSignInWithIdentityProvider cross site scripting
A vulnerability was identified in usememos memos up to 0.31.0. Affected by this vulnerability is the function handleSignInWithIdentityProvider of the file web/src/components/IdentityProviderButtons.tsx of the component OAuth2 Identity Provider SSO. The manipulation of the argument authUrl leads to cross site scripting. It is possible to initiate the attack remotely. The exploit is publicly available and might be used. Upgrading to version 26.10.0 addresses this issue. The identifier of the patch is e216c28863cdbf31603349d75c904253666e0cc4. It is suggested to upgrade the affected component.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 26.10.0Patch e216c28863cdbf31603349d75c904253666e0cc4
Event History
Frequently Asked Questions
Who is exposed to this issue?
Deployments of usememos memos up to version 0.31.0 that use the OAuth2 Identity Provider SSO component are affected. The vulnerable code is in the IdentityProviderButtons.tsx sign-in flow.
What does an attacker need to exploit it?
An attacker can initiate the attack remotely by manipulating the authUrl argument handled during identity-provider sign-in. User interaction is required, and the severity vector indicates high privileges are also required.
Is public exploit code available?
Yes. The available data states that a public exploit exists and may be used.
What should be done to remediate the issue?
Upgrade the affected component to version 26.10.0. The identified patch is e216c28863cdbf31603349d75c904253666e0cc4.