CVE-2025-46731Improper Neutralization of Special Elements Used in a Template Engine in Craft CMS

Severity
7.3HIGHNVD
EPSS
0.9%
top 24.16%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 5

Description

Craft is a content management system. Versions of Craft CMS on the 4.x branch prior to 4.14.13 and on the 5.x branch prior to 5.6.16 contains a potential remote code execution vulnerability via Twig SSTI. One must have administrator access and `ALLOW_ADMIN_CHANGES` must be enabled for this to work. Users should update to the patched versions 4.14.13 or 5.6.15 to mitigate the issue.

CVSS vector

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

Affected Packages3 packages

Packagistcraftcms/cms4.0.0-RC14.14.13+1
NVDcraftcms/craft_cms4.1.04.14.13+3
CVEListV5craftcms/cms>= 4.0.0-RC1, < 4.14.13, >= 5.0.0-RC1, < 5.6.15+1

Patches

🔴Vulnerability Details

3
OSV
Craft CMS Contains a Potential Remote Code Execution Vulnerability via Twig SSTI2025-05-05
CVEList
Craft CMS Contains a Potential Remote Code Execution Vulnerability via Twig SSTI2025-05-05
GHSA
Craft CMS Contains a Potential Remote Code Execution Vulnerability via Twig SSTI2025-05-05

📋Vendor Advisories

1
Microsoft
drm/amd/pm: fix the Out-of-bounds read warning2024-09-10
CVE-2025-46731 — Craftcms Craft CMS vulnerability | cvebase