CVE-2026-61451: URL Redirection to Untrusted Site ('Open Redirect') in getgrav grav
The Grav API plugin (grav-plugin-api) before 1.0.4 does not validate the origin of the client-supplied admin_base_url field in the POST /api/v1/auth/forgot-password endpoint. The sanitizeHttpUrl() function only checks that the URL scheme is http/https and never verifies the host against the server's own origin, so an attacker can supply an arbitrary host. As a result, an unauthenticated attacker can cause the password reset email sent to a victim to contain a reset link pointing at an attacker-controlled server; when the victim follows the link, the valid reset token is disclosed to the attacker, enabling full account takeover. The vulnerable base URL can also be influenced via the Referer or Origin headers.
AI Analysis
Technical Summary
The Grav API plugin (grav-plugin-api) prior to version 1.0.4 does not validate the origin of the client-supplied admin_base_url parameter in the POST /api/v1/auth/forgot-password endpoint. The sanitizeHttpUrl() function only checks that the URL scheme is http or https but does not verify that the host matches the server's own origin. Consequently, an unauthenticated attacker can supply an arbitrary host, causing the password reset email to contain a reset link pointing to an attacker-controlled server. When a victim follows this link, the valid reset token is exposed to the attacker, enabling full account takeover. The vulnerable base URL can also be influenced via the Referer or Origin HTTP headers.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to cause password reset emails to include links to attacker-controlled domains. This leads to disclosure of valid password reset tokens to the attacker, enabling full account takeover of victim accounts. The vulnerability affects confidentiality and integrity of user accounts and poses a critical security risk.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using vulnerable versions of the Grav API plugin. Monitor vendor communications for updates and apply patches promptly once released. Consider implementing additional validation or filtering of URLs in the password reset workflow as a temporary mitigation.
CVE-2026-61451: URL Redirection to Untrusted Site ('Open Redirect') in getgrav grav
Description
The Grav API plugin (grav-plugin-api) before 1.0.4 does not validate the origin of the client-supplied admin_base_url field in the POST /api/v1/auth/forgot-password endpoint. The sanitizeHttpUrl() function only checks that the URL scheme is http/https and never verifies the host against the server's own origin, so an attacker can supply an arbitrary host. As a result, an unauthenticated attacker can cause the password reset email sent to a victim to contain a reset link pointing at an attacker-controlled server; when the victim follows the link, the valid reset token is disclosed to the attacker, enabling full account takeover. The vulnerable base URL can also be influenced via the Referer or Origin headers.
CVSS v4.0
Score 9.4critical
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Grav API plugin (grav-plugin-api) prior to version 1.0.4 does not validate the origin of the client-supplied admin_base_url parameter in the POST /api/v1/auth/forgot-password endpoint. The sanitizeHttpUrl() function only checks that the URL scheme is http or https but does not verify that the host matches the server's own origin. Consequently, an unauthenticated attacker can supply an arbitrary host, causing the password reset email to contain a reset link pointing to an attacker-controlled server. When a victim follows this link, the valid reset token is exposed to the attacker, enabling full account takeover. The vulnerable base URL can also be influenced via the Referer or Origin HTTP headers.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to cause password reset emails to include links to attacker-controlled domains. This leads to disclosure of valid password reset tokens to the attacker, enabling full account takeover of victim accounts. The vulnerability affects confidentiality and integrity of user accounts and poses a critical security risk.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using vulnerable versions of the Grav API plugin. Monitor vendor communications for updates and apply patches promptly once released. Consider implementing additional validation or filtering of URLs in the password reset workflow as a temporary mitigation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-09T14:06:14.016Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a57772068715ace43a93bc7
Added to database: 07/15/2026, 12:03:44 UTC
Last enriched: 07/15/2026, 12:17:34 UTC
Last updated: 07/15/2026, 18:39:12 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.