Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-68454— Craft CMS vulnerable to potential authenticated Remote Code Execution via Twig SSTI

Quick assessment

Affected
craftcms cms
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Craft CMS是Craft CMS开源的一套内容管理系统(CMS)。 Craft CMS 5.0.0-RC1版本至5.8.20版本和4.0.0-RC1版本至4.16.16版本存在安全漏洞,该漏洞源于Twig模板输入处理不当,可能导致经过身份验证的远程代码执行。

AI Predicted 7.5 Difficulty: Easy EPSS 0.94% · P60
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-68454

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Craft CMS vulnerable to potential authenticated Remote Code Execution via Twig SSTI
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
Source: CVE Program / CVE List V5
Vulnerability Type
CWE-1336
Source: CVE Program / CVE List V5
Vulnerability Title
Craft CMS 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Craft CMS是Craft CMS开源的一套内容管理系统(CMS)。 Craft CMS 5.0.0-RC1版本至5.8.20版本和4.0.0-RC1版本至4.16.16版本存在安全漏洞,该漏洞源于Twig模板输入处理不当,可能导致经过身份验证的远程代码执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
craftcms cms >= 5.0.0-RC1, < 5.8.21 -

II. Public POCs for CVE-2025-68454

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-68454

请登录查看更多情报信息。

Patches & Fixes for CVE-2025-68454 (1)

Vendor Advisories for CVE-2025-68454 (1)

Other References for CVE-2025-68454 (1)

Same Patch Batch · craftcms · 2026-01-05 · 5 CVEs total

CVE-2025-68456 Unauthenticated Craft CMS users can trigger a database backup
CVE-2025-68436 Craft CMS vulnerable to potential information disclosure via unchecked asset relocation
CVE-2025-68437 Craft CMS vulnerable to Server-Side Request Forgery (SSRF) via GraphQL Asset Upload Mutati
CVE-2025-68455 Craft CMS vulnerable to potential authenticated Remote Code Execution via malicious attach

IV. Related Vulnerabilities

V. Comments for CVE-2025-68454

No comments yet


Leave a comment