High severityNVD Advisory· Published May 5, 2025· Updated May 5, 2025
Craft CMS Contains a Potential Remote Code Execution Vulnerability via Twig SSTI
CVE-2025-46731
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
craftcms/cmsPackagist | >= 4.0.0-RC1, < 4.14.13 | 4.14.13 |
craftcms/cmsPackagist | >= 5.0.0-RC1, < 5.6.15 | 5.6.15 |
Affected products
2Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-7c58-g782-9j38ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-46731ghsaADVISORY
- github.com/craftcms/cms/pull/17026ghsax_refsource_MISCWEB
- craftcms.com/knowledge-base/securing-craftghsax_refsource_MISCWEB
- github.com/craftcms/cms/security/advisories/GHSA-7c58-g782-9j38ghsax_refsource_CONFIRMWEB
- github.com/craftcms/cms/security/advisories/GHSA-f3cw-hg6r-chfvghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.