High severity · published Aug 25, 2025
CVE-2025-57811
Craft is a platform for creating digital experiences
7.2
CVSS
0.9%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.9% · higher than 61% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CC
Craft Cms · Craftcms
4.1.0 before 4.16.6; 5.1.0 before 5.8.7; 4.0.0; 4.0.0; 4.0.0; 5.0.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-57811
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-57811
Patch
https://github.com/craftcms/cms/commit/e77f8a287dcdda41f1724f525d03542f18566cbc
Patch
https://github.com/craftcms/cms/pull/17612
Vendor Advisory
https://github.com/craftcms/cms/security/advisories/GHSA-crcq-738g-pqvc
More from Craft Cms
10.0
CVE-2025-32432
Craft CMS Allows Remote Code Execution
9.8
CVE-2024-56145
RCE when PHP `register_argc_argv` config setting is enabled in craftcms/cms
8.1
CVE-2025-23209
Potential RCE with a compromised security key in craft/cms
5.3
CVE-2025-35939
Craft CMS stores user-provided content in session files
9.8
CVE-2026-32267
Craft CMS Vulnerable to Privilege Escalation/Bypass through UsersController->actionImpersonateWithToken()
