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
- 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
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
- security-advisories@github.com (x_refsource_MISC, Not Applicable)
- security-advisories@github.com (Product, x_refsource_MISC)
- security-advisories@github.com (Patch, x_refsource_MISC)
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.