# OpenID Connect Generic Client <= 3.11.3 - Unauthenticated Privilege Escalation via Account Takeover through Unverified Email Account Linking

- **ID:** WPSEC-2026-3300
- **Plugin:** OpenID Connect Generic Client (`daggerhart-openid-connect-generic`), https://wordpress.org/plugins/daggerhart-openid-connect-generic/
- **Affected versions:** all versions before 3.11.4
- **Fixed in:** 3.11.4 (Update to 3.11.4 or later.)
- **Severity:** High 8.1 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H)
- **Weakness:** CWE-287
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-17)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/daggerhart-openid-connect-generic
- **Fix released:** 2026-11-16
- **Published:** 2026-11-17
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3300/

## Description

The OpenID Connect Generic Client plugin for WordPress is vulnerable to Privilege Escalation via Account Takeover in all versions up to, and including, 3.11.3. This is due to the 'Link Existing Users' feature linking an identity provider login to an existing WordPress account with a matching email address, or a matching user name when 'Identify with User Name' is enabled, without checking that the identity provider verified the email address (even when it reports the address as unverified), and without checking whether the account was already linked to a different identity. This makes it possible for unauthenticated attackers who can sign in at the configured identity provider with an email address or user name matching an existing user, including an administrator, to log in as that user and take over the account. Exploitation requires the 'Link Existing Users' setting to be enabled and an identity provider that lets users assert an email address or user name they do not own.

## References

- https://wpsec.com/vuln/WPSEC-2026-3300/
- https://plugins.svn.wordpress.org/daggerhart-openid-connect-generic/tags/3.11.4/
- https://wordpress.org/plugins/daggerhart-openid-connect-generic/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3300/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
