CVE-2025-57811: craftcms cms · Improper Neutralization of Special Elements Used in a Template Engine
Affects craftcms cmsSource CVE Database V5
Mentioned vulnerabilities
Not known to be exploited · CVSS 6.1 Medium · fixed in 4.16.6 : update craftcms cms when convenient.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.9% chance of exploitation in 30 days – higher than 60% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.16.6
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:UExploitation evidence
Disclosed: evidence found.
CVE published 25 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
AI-suggested
European organizations should prioritize upgrading Craft CMS installations to versions 4.16.6 or 5.8.7 or later to remediate this vulnerability. Beyond patching, organizations should implement strict access controls to limit high-privilege accounts and monitor their usage closely to reduce the risk of credential compromise. Employing Web Application Firewalls (WAFs) with custom rules to detect and block suspicious template injection patterns can provide an additional layer of defense. Regularly auditing CMS configurations and installed plugins for security best practices is recommended to prevent privilege escalation paths. Implementing robust logging and alerting on CMS administrative actions and template changes can help detect exploitation attempts early. Network segmentation to isolate CMS servers from critical backend systems reduces potential lateral movement. Finally, conducting security awareness training for administrators on the risks of privilege misuse and ensuring timely application of security updates will help maintain a strong security posture against this threat.
Description
Craft is a platform for creating digital experiences. From versions 4.0.0-RC1 to 4.16.5 and 5.0.0-RC1 to 5.8.6, there is a potential remote code execution vulnerability via Twig SSTI (Server-Side Template Injection). This is a follow-up to CVE-2024-52293. This vulnerability has been patched in versions 4.16.6 and 5.8.7.