Vulnerability in Craftcms Cms

CVE-2025-46731

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.

EPSS: 0.013 (67.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-46731?
CVE-2025-46731 is a high-severity vulnerability in Craftcms Cms, classified under Improper Neutralization of Special Elements Used in a Template Engine. CVSS score: 7.2/10. Published 2025-05-05.
How severe is CVE-2025-46731?
High severity. CVSS v3 base score is 7.2 out of 10.
Is CVE-2025-46731 known to be exploited?
5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.