CVE Hunter
›
CVE-2026-126721

CWE-269

YÜKSEK CVSS 7.5 CVE.org

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.

Yayınlanma 18.11.2026
ISO Tarih 2026-11-18
CVSS Sürüm v3.1
Kaynak CVE.org
CVSS v3.1 Metrikleri
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity High AC:H
Privileges Req. None PR:N
User Interaction Required UI:R
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
AI Güvenlik Analizi
🤖 Yapay Zeka Güvenlik Analizi Hazırlanıyor…
CVSS vektörü ve CWE zayıflık yapısı inceleniyor…
Hedef Keşif Sorguları

FOFA Sorgusu

app="WordPress" && body="/wp-content/plugins/magic-login-mail-or-qr-code"
CVSS Skoru
7.5 / 10 · CVSS YÜKSEK
Zayıflık Türleri (CWE)
CWE-269
Etkilenen Ürünler (1)
katsushi-kawamori:Magic Login Mail or QR Code (2.07)
İlgili CVE'ler
8.8
CVE-2026-107515
Dell PowerStore contains an Improper Privilege Management vulnerability. An authenticated attacker could explo
8.6
CVE-2026-130738
Grav from 2.0.0 before 2.2.18 contains a privilege escalation vulnerability that allows user managers with adm
6.3
CVE-2026-119634
The User Frontend – Membership, User Registration, User Profile, User Directory & Content Restriction with F
8.8
CVE-2026-129545
Kalmia through 0.2.0 contains a privilege escalation vulnerability that allows low-privileged authenticated us
7.8
CVE-2026-129956
Sandboxie-Plus before 1.18.6 contains a local privilege escalation vulnerability in SbieSvc that allows standa
6.8
CVE-2026-91112
Silverstripe Framework is a PHP framework which powers the Silverstripe CMS. Prior to 6.2.13, a user with CMS_