CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2025-46731: Craft CMS Contains a Potential Remote Code Execution Vulnerability via Twig SSTI

7.3 CVSS

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.

Classification

CVE ID: CVE-2025-46731

CVSS Base Severity: HIGH

CVSS Base Score: 7.3

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/E:P

Problem Types

CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine

Affected Products

Vendor: craftcms

Product: cms

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.42% (probability of being exploited)

EPSS Percentile: 61.14% (scored less or equal to compared to others)

EPSS Date: 2025-06-03 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-46731
https://github.com/craftcms/cms/security/advisories/GHSA-7c58-g782-9j38
https://github.com/craftcms/cms/security/advisories/GHSA-f3cw-hg6r-chfv
https://craftcms.com/knowledge-base/securing-craft#set-allowAdminChanges-to-false-in-production
http://github.com/craftcms/cms/pull/17026

Timeline