Impact
Grav before version 2.0.4 does not restrict cURL protocol usage in webhook dispatch. An authenticated user with api.webhooks.write permissions can create webhook URLs that use file://, dict://, or gopher:// schemes. This flaw is an SSRF (CWE‑918) that permits an attacker to read local files, enumerate process information, or reach internal services by triggering the webhook.
Affected Systems
Any Grav installation built from the getgrav:grav product with a version earlier than 2.0.4 is affected. The bug resides in the webhook dispatch subsystem and is resolved in releases 2.0.4 and later.
Risk and Exploitability
The CVSS score of 8.4 denotes high severity, but the EPSS score is below 1 %, indicating a low probability of exploitation at present, and the vulnerability is not in CISA’s KEV. Exploitation requires the attacker to have an authenticated API user with write access to webhooks, after which they can craft a malicious webhook URL and trigger it to cause the server to request the target URL using an unsupported protocol.
OpenCVE Enrichment