CVE-2025-57811
BaseFortify
Publication date: 2025-08-25
Last updated on: 2025-09-03
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| 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 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.