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

Published Dec 4, 2026
·
Updated

Grav API plugin before 1.1.21 validates the client-supplied adminbaseurl or Origin header with PHP parseurl() 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.

Affected Software

1 affected component
Grav Grav API Plugin<1.1.21

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.1.21

Event History

Dec 4, 2026
CVE Published
via MITRE·04:11 PM
Data Sourced
via MITRE·04:11 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:19 PM
DescriptionSeverityWeakness
Event
via NVD·05:19 PM

Frequently Asked Questions

1

Who can exploit this issue, and what information do they need?

An unauthenticated attacker can trigger the password-reset flow. They need to know the target user's email address and rely on the target clicking the legitimate password-reset link sent by email.

2

Which accounts are at risk?

Any account for which an attacker can request a password reset may be affected, including super-admin accounts. Successful exploitation can expose the reset token to the attacker and allow account takeover.

3

Are installations using the affected plugin version exposed by default?

The issue is reachable through the plugin's /api/v1/auth/forgot-password endpoint and involves client-supplied admin_base_url or Origin values. The provided information does not identify any configuration prerequisite or mitigation that would prevent exposure on affected versions.

4

How can I determine whether a deployment is affected?

Check the installed Grav API Plugin version. Versions before 1.1.21 are affected according to the provided advisory information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203