WordPress Plugin Vulnerabilities

Temporary Login < 1.1.0 - Authentication Bypass to Account Takeover

Description

The plugin is vulnerable to Authentication Bypass due to improper input validation in the maybe_login_temporary_user() function, which fails to verify that the 'temp-login-token' GET parameter is a scalar string before processing it. When the parameter is supplied as an array, PHP's empty() check is bypassed and sanitize_key() returns an empty string, which is then passed as the meta_value to get_users(). WordPress ignores an empty meta_value and returns all users matching the meta_key '_temporary_login_token', allowing authentication without a valid token. This makes it possible for unauthenticated attackers to authenticate as any active temporary login user by sending a single crafted GET request.

Affects Plugins

Fixed in 1.1.0

References

Classification

Miscellaneous

Original Researcher
TANG Cheuk Hei (siunam)
Verified
No

Timeline

Publicly Published
2026-04-30 (about 13 days ago)
Added
2026-05-01 (about 12 days ago)
Last Updated
2026-05-01 (about 12 days ago)

Other