Skip to content

CVE-2026-145025 Grav API Plugin before 1.1.21 Password Reset Poisoning via admin_base_url

CriticalCVSS 9.4 EPSS 0.78%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
PHP

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
getgrav/grav < 1.1.21 1.1.21 Fixed

Affected products

ProductAffected versionsFixed in
getgrav/grav < 1.1.21 1.1.21

References