New from Wiz Research: Critical NGINX flaw. Understand the risk and impact.
Vulnerability DatabaseCVE-2026-126721

CVE-2026-126721: 
WordPress vulnerability analysis and mitigation

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.


Source: NVD

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-123343MEDIUM6.5
  • blockart-blocks
NoYesNov 18, 2026
CVE-2026-125058MEDIUM6.4
  • image-source-control-isc
NoYesNov 18, 2026
CVE-2026-125012MEDIUM6.4
  • nazy-load
NoYesNov 18, 2026
CVE-2026-1214MEDIUM5.3
  • buddypress
NoYesNov 18, 2026
CVE-2026-120672MEDIUM4.9
  • meow-gallery
NoYesNov 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management