Privilege Escalation Vulnerability in Magic Login Mail Plugin for WordPress
CVE-2026-126721
Key Information:
- Vendor
WordPress
- Vendor
- CVE Published:
- 18 November 2026
What is CVE-2026-126721?
The Magic Login Mail plugin for WordPress is susceptible to a privilege escalation vulnerability that can lead to an unauthorized Administrator account takeover. This issue arises when the curpageurl() function fails to validate the $_SERVER['HTTP_HOST'] value, allowing attackers to craft a malicious Host header that can hijack the magic-login link sent to a targeted Administrator. If exploited, an attacker can intercept the one-time uid and token pair sent to the administrator's email, enabling the attacker to establish a full Administrator session on the WordPress site. The exploitation requires specific conditions, including the [magic_login] shortcode rendering on a path where the permalink returns false, as well as the Administrator clicking the attacker's link. As a result, administrators must be vigilant in ensuring the security configurations of their WordPress sites to prevent such attacks.
Affected Version(s)
Magic Login Mail or QR Code 0 <= 2.07