Grav API plugin before 1.1.21 validates the client-supplied admin_base_url or Origin header with PHP parse_url() but places the raw string in password reset links, so a backslash-containing URL passes the host check while browsers resolve it to an attacker host. An unauthenticated attacker who knows a user's email address can request a reset via /api/v1/auth/forgot-password, and when the victim clicks the genuine emailed link the reset token is sent to the attacker, enabling account takeover including super-admins.
CVE-2026-145025
CVSS base score
9.6 (v3.1)
Severity
CRITICAL
Attack vector
Network
Weakness
CWE-436
Last modified
December 4, 2026
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H