CVE-2026-54718
moderateServer-side template injection (RCE) in Silverstripe Advanced Workflow email templates
The Silverstripe Advanced Workflow module before versions 6.4.5, 7.1.3, and 7.2.1 is vulnerable to server-side template injection (CWE-1336) in the NotifyUsersWorkflowAction.EmailTemplate field. An attacker who holds permission to author workflow email templates — a high-privilege CMS user, per the CVSS score — can store a specially crafted template payload in that field. When the workflow action renders the email through Silverstripe's SSTemplateParser template engine, the embedded payload is evaluated as PHP, giving the attacker arbitrary code execution on the web server with high impact to confidentiality, integrity, and availability. Any Silverstripe CMS installation using the affected module versions is exposed, though exploitation requires prior attacker access to a template-authoring account rather than an unauthenticated path. There is currently no known exploitation in the wild, no public proof of concept, the flaw is not in CISA KEV, and EPSS estimates only a ~0.7% chance of exploitation within 30 days.
What to do: Upgrade the advancedworkflow module to 6.4.5, 7.1.3, or 7.2.1 depending on your version branch. Until patching, restrict permission to author or edit NotifyUsersWorkflowAction email templates to fully trusted administrators, and audit existing EmailTemplate values for unexpected or crafted template directives that could be evaluated by SSTemplateParser. Prioritize environments with multiple content-author/admin accounts, since an attacker needs template-authoring privileges to plant the malicious payload.
| Silverstripe Advanced Workflow module (silverstripe/advancedworkflow) for Silverstripe CMS | All versions prior to 6.4.5 (6.x line), prior to 7.1.3 (7.1.x line), and prior to 7.2.1 (7.2.x line) |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Silverstripe Advanced Workflow is a highly configurable step-based workflow module. Prior to 6.4.5, 7.1.3, and 7.2.1, an attacker with permission to author the advanced workflow email template can place a specially crafted server-side template payload in NotifyUsersWorkflowAction.EmailTemplate. When NotifyUsersWorkflowAction renders the field through the Silverstripe template engine SSTemplateParser, the payload can cause PHP evaluation and arbitrary code execution on the server; the regression coverage is in tests/php/WorkflowEngineTest.php. This issue is fixed in versions 6.4.5, 7.1.3, and 7.2.1.
- Weakness
- CWE-1336
- Vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
In the news0 stories
No ingested article mentions this CVE yet.