# OpenID Connect Generic Client <= 3.11.3 - Login Cross-Site Request Forgery via OAuth State Parameter

- **ID:** WPSEC-2026-3299
- **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:** Medium 4.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-352
- **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-3299/

## Description

The OpenID Connect Generic Client plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 3.11.3. This is due to the OAuth state value only being checked against site-wide storage, without being bound to the browser that started the login. This makes it possible for unauthenticated attackers who can sign in at the configured identity provider to log a victim into an attacker-controlled account (login CSRF), granted they can trick the victim into performing an action such as clicking a link.

## References

- https://wpsec.com/vuln/WPSEC-2026-3299/
- 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-3299/

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.
