The Grav Email plugin (getgrav/grav-plugin-email) before 4.2.2 renders page-editor-controlled Email action parameters as unsandboxed Twig templates. An authenticated remote user with only api.access and api.pages.write permissions can place a Twig expression in header.form.process.email.body, publish the page, and submit the form to execute an arbitrary operating-system command as the account running PHP.
References
Configurations
No configuration.
History
No history.
Information
Published : 2026-08-25 02:16
Updated : 2026-08-31 20:52
NVD link : CVE-2026-75574
Mitre link : CVE-2026-75574
CVE.ORG link : CVE-2026-75574
JSON object : View
Products Affected
No product.
CWE
CWE-1336
Improper Neutralization of Special Elements Used in a Template Engine
