Threat Feed

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

Exploitation: None known · CVSS 9.6 Critical · Unauthenticated · Published 2026-12-04

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.

Fix

Upgrade to 1.1.21.

Vendor advisory

Affected versions

ProductVulnerableFixed in
grav0 before 1.1.211.1.21

Seen in 2 sources