CVE-2025-57811

Craft Potential Remote Code Execution via Twig SSTI

State
Published
Severity
6.1 Medium
Published
Aug 25, 2025
Updated
Aug 25, 2025
Reserved
Aug 20, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.1 MediumCVSS: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:UGitHub_M

Weaknesses

  • CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine

Affected Products

ProductVersions
cmscraftcms
  • >= 4.0.0-RC1, < 4.16.6Affected
  • >= 5.0.0-RC1, < 5.8.7Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.