Description
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.
CVSS 8.8EPSS 0.364%Risk 0.91
View source- Published
- 2026-08-25 02:16:51
- Affected versions
- <4.2.2
- Type
- Library
- Last modified
- 2026-08-27 20:18:37
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H