Read the docs

Password reset poisoning in Grav API Plugin via admin_base_url

Priority MEDIUM 40CWE-436Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

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. A backslash-containing URL passes the host check while browsers resolve it to an attacker host (CWE-436). An unauthenticated remote attacker who knows a user's email address can request a reset, and when the victim clicks the genuine emailed link, the reset token is sent to the attacker, enabling account takeover including super-admins.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
Fix Fixed grav (getgrav): 1.1.21

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
getgravgravbefore 1.1.211.1.21Patch availableCNA
  • grav Vendorgetgrav Affected before 1.1.21 Fixed in 1.1.21 Patch available CNA

Remediation

Update Grav API plugin to version 1.1.21, which fixes the flaw.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

  • Fix · CNA grav (getgrav) Fixed in 1.1.21

Timeline

  1. 2026-12-04 Threatist record created from CVE-2026-145025
  2. 2026-12-04 CISA SSVC decision points changed

References

  • TI-2026-30893 Grav: Privilege Escalation via Missing Server-Side Validation of groups/access CVSS 3.1CRITICAL 9.4
  • TI-2025-28971 Cross Site Scripting vulnerability in grav v.1.7.48 and before allows an attacker to… CVSS 3.1CRITICAL 9.8
  • TI-2021-04523 Unauthenticated Arbitrary YAML Write/Update leads to Code Execution CVSS 3.1CRITICAL 9.8
  • TI-2026-50940 Grav CMS before 2.0.16 Origin Validation Bypass via Referer CVSS 4.0CRITICAL 9.3
  • TI-2026-46446 Grav before 2.0.7 Remote Code Execution via Blueprint dynamicData CVSS 4.0CRITICAL 9.3
  • TI-2021-22428 GravCMS 1.10.7 - Arbitrary YAML Write/Update (Unauthenticated) (2) CVSS 4.0CRITICAL 9.3
See all 255 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences