01 Record
CVE-2025-46731
Craft CMS Contains a Potential Remote Code Execution Vulnerability via Twig SSTI
HighPUBLISHEDCNA: GitHub_M
CNA base score7.3 CVSS v4.0CVSS: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
02 Description
Craft CMS Contains a Potential Remote Code Execution Vulnerability via Twig SSTI
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 1.51% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 74.1% of scored records. A rank, not a probability.
- NVD base score
- 7.3 (CVSS v4.0), scored by the NVD independently of the CNA.
- NVD 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVD analysis status
- Analyzed. NVD last modified this record on 2026-06-17.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2025-05-05 19:35Z1 YR AGO
- Last updated
- 2025-05-05 20:03Z1 YR AGO
- Reserved
- 2025-04-28
- Assigning CNA
- GitHub_M
- Record state
- PUBLISHED
- Severity
- High (CVSS 7.3)
- CNA 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
- Weaknesses
- CWE-1336Improper Neutralization of Special Elements Used in a Template EngineBase
- Data version
- 5.1
- Document digest
- 1e6681f0981fbb63fe79f4e62459c7783c2b60a1f59603bb644f6579f5035cc9
05 Affected products
VendorProductVersionsPlatforms
06 References
- github.comhttps://github.com/craftcms/cms/security/advisories/GHSA-7c58-g782-9j38
- github.comhttps://github.com/craftcms/cms/security/advisories/GHSA-f3cw-hg6r-chfv
- craftcms.comhttps://craftcms.com/knowledge-base/securing-craft#set-allowAdminChanges-to-false-in-production
- github.comhttp://github.com/craftcms/cms/pull/17026