CVE Catalog

CVE-2026-145025

CriticalCVSS 9.6
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.78%

57th percentile - higher than 57% of all known CVEs

Summary

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.

Risk Assessment

An attacker can take over accounts, including super-admins, by capturing password reset tokens. This leads to full compromise of the Grav system.

Recommendation

Update the Grav API plugin to version 1.1.21 or later. Until patched, consider restricting access to the forgot-password endpoint.

Other vulnerabilities in Grav API plugin

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS