GHSA-742x-x762-7383 · Severity: medium · Ecosystem: composer — Craft CMS vulnerable to potential authenticated Remote Code Execution via Twig SSTI
Craft is a platform for creating digital experiences. Versions 5.0.0-RC1 through 5.8.20 and 4.0.0-RC1 through 4.16.16 are vulnerable to potential authenticated Remote Code Execution via Twig SSTI. For this to work, users must have administrator access to the Craft Control Panel, and allowAdminChanges must be enabled, which is against Craft CMS' recommendations for any non-dev environment. Alternatively, a non-administrator account with allowAdminChanges disabled can be used, provided access to the System Messages utility is available. It is possible to craft a malicious payload using the Twig `map` filter in text fields that accept Twig input under Settings in the Craft control panel or using the System Messages utility, which could lead to a RCE. Users should update to the patched versions (5.8.21 and 4.16.17) to mitigate the issue.
Conclusion & alert: CVE-2025-68454 is rated Exploit Available (54/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.79%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.52% | 0.79% | +0.27% |
| 2 | 2026-06-03 | 0.65% | 0.52% | -0.13% |
| 3 | 2026-05-07 | — | 0.65% | — |
Full EPSS history (6 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.2 | 4.0 | MEDIUM |
|
— | — | [email protected] |
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | [email protected] |
GHSA-742x-x762-7383 · Severity: medium · Ecosystem: composer — Craft CMS vulnerable to potential authenticated Remote Code Execution via Twig SSTI
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| craftcms | craft_cms | >= 4.0.0.1, < 4.16.17 | cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* |
| craftcms | craft_cms | >= 5.0.1, < 5.8.21 | cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* |
| craftcms | craft_cms | 4.0.0 | cpe:2.3:a:craftcms:craft_cms:4.0.0:-:*:*:*:*:*:* |
| craftcms | craft_cms | 4.0.0 | cpe:2.3:a:craftcms:craft_cms:4.0.0:rc1:*:*:*:*:*:* |
| craftcms | craft_cms | 4.0.0 | cpe:2.3:a:craftcms:craft_cms:4.0.0:rc2:*:*:*:*:*:* |
| craftcms | craft_cms | 4.0.0 | cpe:2.3:a:craftcms:craft_cms:4.0.0:rc3:*:*:*:*:*:* |
| craftcms | craft_cms | 5.0.0 | cpe:2.3:a:craftcms:craft_cms:5.0.0:-:*:*:*:*:*:* |
| craftcms | craft_cms | 5.0.0 | cpe:2.3:a:craftcms:craft_cms:5.0.0:rc1:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/craftcms/cms/blob/5.x/CHANGELOG.md#5821---2025-12-04 | Product Release Notes |
| https://github.com/craftcms/cms/commit/d82680f4a05f9576883bb83c3f6243d33ca73ebe | Patch |
| https://github.com/craftcms/cms/security/advisories/GHSA-742x-x762-7383 | Exploit Vendor Advisory |