Grav API Plugin before 1.1.21 Password Reset Poisoning via admin_base_url
- CVE-2026-145025
- EUVD-2026-144349
Summary
Grav API plugin versions before 1.1.21 validate the client-supplied admin_base_url or Origin header using PHP parse_url(), but place the raw string into password reset links. A backslash-containing URL passes the host check while browsers resolve it to an attacker-controlled host. An unauthenticated attacker who knows a user's email address can request a reset through the forgot-password endpoint. When the victim clicks the genuine emailed link, the reset token is delivered to the attacker, enabling account takeover, including of super-admin accounts. The record is rated CVSS 9.6 and is not listed in the CISA known exploited vulnerabilities catalog.
AI summary · verify against the vendor advisory
Description
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.
Text from the CVE.org record.
Recommendation
getgrav grav
- If you run a version before 1.1.21update to 1.1.21 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
getgrav grav
Affected versions Fixed in before 1.1.21 1.1.21
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.