Server-Side Template Injection Vulnerability in Grav Web Platform
CVE-2025-66294
8.7HIGH
What is CVE-2025-66294?
Grav, a file-based web platform, contains a Server-Side Template Injection (SSTI) vulnerability that affects versions prior to 1.8.0-beta.27. This issue enables authenticated users with editor permissions to execute arbitrary commands on the server. Moreover, in specific scenarios, this vulnerability can also be exploited by unauthenticated attackers. The origin of this vulnerability lies in insufficient regular expression validation within the cleanDangerousTwig method. Users are encouraged to upgrade to version 1.8.0-beta.27 or later to mitigate this risk.
Affected Version(s)
grav < 1.8.0-beta.27
References
EPSS Score
36% chance of being exploited in the next 30 days.
CVSS V4
Score:
8.7
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None
Timeline
Vulnerability published
Vulnerability Reserved
