Description
Grav CMS before 2.0.13 contains a server-side template injection vulnerability in email-action parameters that allows low-privileged page editors to execute arbitrary operating-system commands. Attackers can inject Twig payloads using the unsandboxed find filter in email subject, body, to, or from fields to achieve remote code execution when forms are submitted.
Severity (CVSS)
| Base score | 8.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-1336 — Improper Neutralization of Special Elements Used in a Template Engine
Affected products
| Vendor | Product | Versions |
|---|---|---|
| getgrav | grav | 0 to <2.0.13; 2.0.13 |
References
- https://github.com/getgrav/grav/security/advisories/GHSA-xx48-97m4-h7qm (vendor-advisory)
- https://www.vulncheck.com/advisories/grav-cms-before-remote-code-execution-via-twig (third-party-advisory)
Generated from the official CVE List on 15 Aug 2026 07:05 UTC.