CVE-2026-61451
published critical CVSS 4.0 · 9.4Grav API Plugin before 1.0.4 Password Reset Token Poisoning via admin_base_url
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| getgrav | — | grav-plugin-api0 to < 1.0.4 (affected · semver) · 1.0.4 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.4 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.6 | critical | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| getgrav | grav-plugin-api | 0 to < 1.0.4 (affected · semver)1.0.4 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-601 URL Redirection to Untrusted Site ('Open Redirect')
References
2- GitHub Security Advisory (GHSA-5xc4-j99p-cp4m) https://github.com/getgrav/grav/security/advisories/GHSA-5xc4-j99p-cp4m
- VulnCheck Advisory: Grav before 1.0.4 Password Reset Token Poisoning via admin_base_url https://www.vulncheck.com/advisories/grav-before-password-reset-token-poisoning-via-admin-base-url
Provider assertions
2VulnCheck · cna
Grav API Plugin before 1.0.4 Password Reset Token Poisoning via admin_base_url
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8edcfd0a7688afc703a6d7ee9a3f5cb5231b993073973b42e4b3296fc0ca21d3
- Ingested
- 29 Oct 2026, 21:23:06 UTC
- Source record
- Official CVE record