Read the docs

Account takeover in Magic Login Mail or QR Code WordPress plugin

Priority LOW 35CWE-269Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
High
Impact type
Privilege escalation
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-269.

Summary

The Magic Login Mail or QR Code plugin is affected up to and including version 2.07. Its curpageurl() function builds magic-login links from the raw Host header, letting an unauthenticated remote attacker take over an administrator account once the administrator clicks the attacker-originated link (CWE-269). Exploitation requires a page where the shortcode renders without a permalink and a web server forwarding non-canonical Host headers.

Written with Claude Haiku 5.5 from the sources below · 2026-11-18

Description from the CNA

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. Exploitation requires the `[magic_login]` shortcode to render on a path where `get_the_permalink()` returns empty or false (such as a 404 page or a block-theme header template part), the web server to forward non-canonical Host headers, the attacker to know the target administrator's email address, and the administrator to click the attacker-originated magic-login link. Successful exploitation gives the attacker control of a distinct, already-privileged Administrator account; it does not promote the attacker's original account. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00497 35th percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
katsushi-kawamoriMagic Login Mail or QR Codeup to 2.07—No fix listedCNA
  • Magic Login Mail or QR Code Vendorkatsushi-kawamori Affected up to 2.07 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for Magic Login Mail or QR Code.

Written with Claude Haiku 5.5 from the sources below · 2026-11-18

Timeline

  1. 2026-11-18 Threatist record created from CVE-2026-126721
  2. 2026-11-18 CISA SSVC decision points changed
  3. 2026-11-18 Alias added: GHSA-jj3r-fwq6-hv5v

References

  • TI-2026-01794 Magic Login Mail or QR Code <= 2.05 - Unauthenticated Privilege Escalation via Insecure QR Code File Storage CVSS 3.1HIGH 8.1
  • TI-2024-12917 Moving Media Library <= 1.22 - Authenticated (Administrator+) Directory Traversal to Arbitrary File Deletion CVSS 3.1MEDIUM 6.5
  • TI-2024-11724 Moving Users <= 1.05 - Unauthenticated Sensitive Information Exposure CVSS 3.1MEDIUM 5.3
  • TI-2026-96176 Stored cross-site scripting in Organize Media Folder via EXIF metadata CVSS 3.1MEDIUM 6.4
  • TI-2026-24885 WordPress Simple Blog Card plugin <= 2.37 - Server Side Request Forgery (SSRF) vulnerability CVSS 3.1MEDIUM 6.4

Sources