SB20260417105 - Improper Neutralization of Special Elements Used in a Template Engine in Craft CMS
Published: April 17, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Improper Neutralization of Special Elements Used in a Template Engine (CVE-ID: CVE-2025-57811)
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to server-side template injection in the Twig template engine when processing crafted template input. A remote privileged user can inject specially crafted Twig template content to execute arbitrary code.
Exploitation requires administrator access and the ALLOW_ADMIN_CHANGES setting to be enabled.
Remediation
Install update from vendor's website.