SB20260417105 - Improper Neutralization of Special Elements Used in a Template Engine in Craft CMS



SB20260417105 - Improper Neutralization of Special Elements Used in a Template Engine in Craft CMS

Published: April 17, 2026

Security Bulletin ID SB20260417105
CSH Severity
Low
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

Low 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Improper Neutralization of Special Elements Used in a Template Engine (CVE-ID: CVE-2025-57811)

CWE-ID: CWE-1336 - Improper Neutralization of Special Elements Used in a Template Engine

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear


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.