Vulnerability in Craftcms Cms

CVE-2025-57811

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.

EPSS: 0.009 (54.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-57811?
CVE-2025-57811 is a high-severity vulnerability in Craftcms Cms, classified under Improper Neutralization of Special Elements Used in a Template Engine. CVSS score: 7.2/10. Published 2025-08-25.
How severe is CVE-2025-57811?
High severity. CVSS v3 base score is 7.2 out of 10.