CVE-2025-57811 Details
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.
A remote code execution vulnerability has been identified in Craft CMS versions 4.0.0-RC1 prior to 4.16.5 and 5.0.0-RC1 prior to 5.8.6. This vulnerability arises from server-side template injection (SSTI) in Twig, allowing for potential code execution. The issue requires administrator access and the 'ALLOW_ADMIN_CHANGES' setting to be enabled.
Users should update Craft CMS to version 4.16.6 or 5.8.7, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 25, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1336 | Improper Neutralization of Special Elements Used in a Template Engine | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| craftcms craft cms | >= 4.1.0, < 4.16.6 >= 5.1.0, < 5.8.7 4.0.0 rc1 4.0.0 rc2 4.0.0 rc3 5.0.0 rc1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 3, 2025 | Initial Analysis | [email protected] |
| Aug 25, 2025 | New CVE Received | [email protected] |