Code Injection in Craft CMS - CVE-2025-68454

 

Code Injection in Craft CMS - CVE-2025-68454

Published: January 5, 2026


Vulnerability identifier: #VU120912
CSH Severity: Low
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-68454
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation within the "Twig" map filter in text fields. A remote administrator can execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Craft CMS

How to mitigate CVE-2025-68454

Install updates from vendor's website.

Craft CMS - addressed in versions 4.16.17, 5.8.21

External References

Related Security Bulletins