← Back to search

CVE-2026-103898

8.1 HIGH

Published 2026-10-31 · Updated 2026-11-03

AI risk analysis

Summary
The Wp Social Login plugin allows unauthenticated attackers to bypass authentication and log in as any existing WordPress user by exploiting a flawed OAuth email verification check; the plugin sets an authentication cookie without verifying the user's password and relies on a no-op emailVerified flag for Facebook and Twitter logins, enabling account takeover via email matching.
Exploitability
Exploitation is moderately difficult as it requires the attacker to control an OAuth account (e.g., Facebook or Twitter) with an email address that exactly matches a target WordPress user's registered email, but no local credentials, nonces, or prior access are needed.
Blast radius
If exploited, attackers could gain full administrative access to the WordPress site, leading to complete compromise including data theft, malware deployment, and site defacement.
Detection
Look for unexpected authenticated sessions originating from the `/wp-json/wslu-social-login/type/{provider}/` endpoint with no corresponding user login activity in WordPress core logs; specifically, monitor for REST API requests to that endpoint followed immediately by a `wp_set_auth_cookie` call in server logs or authentication logs, especially when the session is established without any prior password or two-factor authentication event.
Prioritized remediation
Upgrade to version 3.2.3 or later, where the plugin properly validates email verification status for OAuth providers and enforces secure authentication flows.
auth-bypassoauthwordpressrest-apicwe-287

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

The Wp Social Login and Register Social Counter plugin for WordPress is vulnerable to Authentication Bypass in all versions up to, and including, 3.2.2. This is due to the social login REST callback registered at `/wp-json/wslu-social-login/type/{provider}/` with `permission_callback => __return_true` locating an existing WordPress account solely by the email string returned from the OAuth provider and calling `wp_set_auth_cookie()` without a password check, while the only verification guard — `!empty($getProfile->emailVerified)` in `inc/admin-create-user.php` — is a no-op for the bundled Hybridauth Facebook and Twitter adapters, both of which assign the raw email string rather than a boolean verified flag to `emailVerified`. This makes it possible for unauthenticated attackers to obtain a fully authenticated session as any existing WordPress user, including Administrators, whose registered email address can be presented through a configured Facebook or Twitter login on the target site. Exploitation requires only that the attacker control an OAuth account whose provider-returned email matches the target account's registered WordPress email address; no local credentials, nonce, or prior foothold is needed.

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-287

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.