CVE-2025-46731CWE-1336

Craft CMS Contains a Potential Remote Code Execution Vulnerability via Twig SSTI

High · published May 5, 2025

CVSS v4.0
7.3
EPSS
2%
Percentile
74.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
7.3 · HIGH
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/E:P
EPSS
0.01518 · 74.4th percentile
Weakness
CWE-1336 · Improper Neutralization of Special Elements Used in a Template Engine
Published
2025-05-05T19:35Z
EPSS history
Timeline
  • 05 MAY 19:35Z
    Craft CMS Contains a Potential Remote Code Execution Vulnerability via Twig SSTI
    cvelistv5