What’s Vulnerable › Vulnerabilities

CVE-2025-66298: Grav is vulnerable to Server-Side Template Injection (SSTI) via Forms

Description

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, having a simple form on site can reveal the whole Grav configuration details (including plugin configuration details) by using the correct POST payload to exploit a Server-Side Template (SST) vulnerability. Sensitive information may be contained in the configuration details. This vulnerability is fixed in 1.8.0-beta.27.

Affected products

How to fix

Upgrade to a fixed version: getgrav grav 1.8.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-66298 or the next vulnerability affects your stack