CVE-2026-145025 is a critical password reset poisoning flaw in Grav API plugin versions before 1.1.21: an unauthenticated attacker can steal reset tokens and take over accounts, including super-admins.
What Is It
The Grav API plugin checks the client-supplied admin_base_url value or Origin header with PHP's parse_url(). It then puts the raw, unmodified string into password reset links. A URL containing a backslash can pass the plugin's host check, but browsers resolve the same URL to a host the attacker controls. The record classifies the weakness as CWE-436, which here means PHP and the browser read the same URL differently.
To exploit it, an attacker who knows a user's email address sends a reset request to /api/v1/auth/forgot-password with a crafted URL. The victim gets a genuine reset email from the site. If they click the link, the reset token goes to the attacker.
Why It Matters
- Severity: CVSS 3.1 base score 9.6 (CRITICAL), vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H. VulnCheck also gives a CVSS 4.0 score of 9.4 (CRITICAL). - No authentication needed: The attack works over the network with low complexity. The attacker needs no privileges, only the target's email address.
- User interaction: The victim must click the reset link. The email comes from the legitimate site, so the victim may have little reason to suspect it.
- Impact: Full account takeover, including super-admin accounts, with high impact on confidentiality, integrity and availability.
Exploitation status: No CISA KEV entry was supplied for this CVE, so active exploitation is not confirmed in the supplied data. NVD lists the record as "Deferred."
What's Vulnerable
- Product: Grav API plugin (the affected data lists vendor
getgrav, productgrav) - Affected: all versions before 1.1.21
- Unaffected: 1.1.21
The record lists no CPEs.
Patch Status
Version 1.1.21 is listed as unaffected. Administrators should upgrade the Grav API plugin to 1.1.21 or later. The supplied data gives no CISA-mandated required action or due date because there is no KEV entry. VulnCheck disclosed the issue, and NVD published it on 2026-12-04. The Grav GitHub security advisory and the VulnCheck advisory below have the vendor's details.