What’s Vulnerable › Vulnerabilities

CVE-2025-57811: Craft Potential Remote Code Execution via Twig SSTI

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.

Affected products

How to fix

Upgrade to a fixed version: craftcms cms 4.16.6, 5.8.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-57811 or the next vulnerability affects your stack