Zero-day vulnerability in Craft CMS

Code Injection
CVE-2025-32432

Vulnerability details

Advisory: SB2025042834 - Remote code execution in Craft CMS

Vulnerable component: Craft CMS

CVE-ID: CVE-2025-32432

CVSSv3 score: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H/RL:O/RC:C

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Description:

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

The vulnerability exists due to improper input validation when handling HTTP requests. A remote non-authenticated attacker can send a specially crafted HTTP POST request to the "/index.php?p=admin/actions/assets/generate-transform"  URL and execute arbitrary PHP code on the target system.

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

Note, the vulnerability is being actively exploited in the wild.

External links:

https://craftcms.com/knowledge-base/craft-cms-cve-2025-32432

https://sensepost.com/blog/2025/investigating-an-in-the-wild-campaign-using-rce-in-craftcms/