WordPress plugins
CVE-2026-126721
Magic Login Mail or QR Code <= 2.07 - Unauthenticated Privilege Escalation via Account Takeover to Host Header Injection in curpageurl() Magic-Login URL
- Severity
- High 7.5
- Published
- 18 Nov 2026
- Last changed
- 18 Nov 2026
- Added to UpHeron
- 18 Nov 2026
- Exploit chance
- 0.5% in the next 30 daysHigher than 43% of CVEs. EPSS by FIRST, 19 Nov 2026
- Attack
- Over the network · Only under certain conditions · No login needed · Needs someone to click or open something
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H- Sources
- CVE Program
Description
The Magic Login Mail or QR Code plugin for WordPress is vulnerable to Privilege Escalation via Administrator Account Takeover in versions up to, and including, 2.07. This is due to the curpageurl() function falling back to the raw $_SERVER['HTTP_HOST'] value — with no validation against the site's configured origin via home_url() or site_url() — when get_the_permalink() returns empty or false, allowing an attacker-controlled Host header to become the URL origin of the magic-login link generated by generate_url() and delivered to the target via wp_mail(). This makes it possible for unauthenticated attackers to intercept the one-time uid and token pair sent to a targeted Administrator's email and replay them against the real site, causing autologin_via_url() to call wp_set_auth_cookie() and establish a full Administrator session on the targeted account.
Affected software
| Software | Affected versions |
|---|---|
Magic Login Mail (WordPress plugin)WordPress plugins · wp-plugin:magic-login-mail |
|
About Magic Login Mail or QR Code
Enter your email address, and send you an email with a magic link or QR Code to login without a password.
- Active installations
- 100+WordPress.org, 18 Nov 2026
- Latest version
- 2.08WordPress.org, 18 Nov 2026
- Last updated
- 11 Nov 2026WordPress.org
- Rating
- 5.0 out of 5 (3 ratings)WordPress.org, 18 Nov 2026
- Requires WordPress
- 5.3WordPress.org
- Requires PHP
- 8.0WordPress.org
- Tested up to WordPress
- 7.1.4WordPress.org
- Author
- Katsushi KawamoriWordPress.org
- In the directory since
- 28 Dec 2021WordPress.org
This is the only vulnerability in Magic Login Mail or QR Code in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-126721