CVE-2025-57811
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-08-25

Last updated on: 2025-09-03

Assigner: GitHub, Inc.

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 Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-08-25
Last Modified
2025-09-03
Generated
2026-05-07
AI Q&A
2025-08-26
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 6 associated CPEs
Vendor Product Version / Range
craftcms craft_cms From 4.1.0 (inc) to 4.16.6 (exc)
craftcms craft_cms From 5.1.0 (inc) to 5.8.7 (exc)
craftcms craft_cms 4.0.0
craftcms craft_cms 4.0.0
craftcms craft_cms 4.0.0
craftcms craft_cms 5.0.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1336 The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a remote code execution issue in the Craft platform caused by Server-Side Template Injection (SSTI) in Twig templates. It affects versions 4.0.0-RC1 to 4.16.5 and 5.0.0-RC1 to 5.8.6. An attacker could exploit this to execute arbitrary code on the server remotely. The issue has been fixed in versions 4.16.6 and 5.8.7.


How can this vulnerability impact me? :

If exploited, this vulnerability could allow an attacker to execute arbitrary code on your server remotely, potentially leading to unauthorized access, data theft, service disruption, or complete system compromise.


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, upgrade Craft to version 4.16.6 or later, or 5.8.7 or later, where the vulnerability has been patched.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart