Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-61451: URL Redirection to Untrusted Site ('Open Redirect') in getgrav grav

0
Critical
VulnerabilityCVE-2026-61451cvecve-2026-61451
Published: 07/15/2026 (07/15/2026, 11:25:44 UTC)
Source: CVE Database V5
Vendor/Project: getgrav
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 12:17:34 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses