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.
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.014 (71.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 72nd percentile — 71.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.014 · newest: 0.014 · change: 0.000
Affected products
- Craftcms Cms — versions >= 4.0.0-RC1, < 4.14.13, >= 5.0.0-RC1, < 5.6.15
- Craftcms Craft Cms — versions 4.0.0, 5.0.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/craftcms/cms/security/advisories/GHSA-7c58-g782-9j38 (Third Party Advisory)
- github.com/craftcms/cms/security/advisories/GHSA-f3cw-hg6r-chfv (Not Applicable)
- craftcms.com/knowledge-base/securing-craft (Product)
- github.com/craftcms/cms/pull/17026 (Patch)
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.