What’s Vulnerable › Vulnerabilities
CVE-2024-28116: Server-Side Template Injection (SSTI) with Grav CMS security sandbox bypass
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 5.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-03-21 · updated 2026-06-17
- Weakness: CWE-94
Description
Grav is an open-source, flat-file content management system. Grav CMS prior to version 1.7.45 is vulnerable to a Server-Side Template Injection (SSTI), which allows any authenticated user (editor permissions are sufficient) to execute arbitrary code on the remote server bypassing the existing security sandbox. Version 1.7.45 contains a patch for this issue.
Affected products
- getgrav grav: before 1.7.45 — fixed in 1.7.45
How to fix
Upgrade to a fixed version: getgrav grav 1.7.45. Check the vendor advisory for mitigations.
References
- https://github.com/getgrav/grav/commit/4149c81339274130742831422de2685f298f3a6e
- https://github.com/getgrav/grav/security/advisories/GHSA-c9gp-64c4-2rrh
- https://github.com/getgrav/grav/commit/4149c81339274130742831422de2685f298f3a6e
- https://github.com/getgrav/grav/security/advisories/GHSA-c9gp-64c4-2rrh
Get alerted when CVE-2024-28116 or the next vulnerability affects your stack