{"id":"CVE-2025-57811","state":"PUBLISHED","title":"Craft Potential Remote Code Execution via Twig SSTI","description":"Craft is a platform for creating digital experiences. From versions 4.0.0-RC1 to 4.16.5 and 5.0.0-RC1 to 5.8.6, there is a potential remote code execution vulnerability via Twig SSTI (Server-Side Template Injection). This is a follow-up to CVE-2024-52293. This vulnerability has been patched in versions 4.16.6 and 5.8.7.","publishedAt":"2025-08-25T17:52:07.786Z","updatedAt":"2025-08-25T18:05:18.176Z","severity":{"score":6.1,"label":"Medium","version":"4.0","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:U","source":"GitHub_M"},"assigner":"GitHub_M","products":["craftcms cms"],"affected":[{"vendor":"craftcms","product":"cms","versions":[{"version":">= 4.0.0-RC1, < 4.16.6","status":"affected"},{"version":">= 5.0.0-RC1, < 5.8.7","status":"affected"}]}],"references":["https://github.com/craftcms/cms/security/advisories/GHSA-crcq-738g-pqvc","https://github.com/craftcms/cms/pull/17612","https://github.com/craftcms/cms/commit/e77f8a287dcdda41f1724f525d03542f18566cbc"],"weaknesses":["CWE-1336"],"ingestedAt":"2026-10-29T20:09:39.787Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/57xxx/CVE-2025-57811.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-57811","state":"PUBLISHED","datePublished":"2025-08-25T17:52:07.786Z","dateUpdated":"2025-08-25T18:05:18.176Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-08-20T14:30:35.010Z"},"containers":{"cna":{"title":"Craft Potential Remote Code Execution via Twig SSTI","descriptions":[{"lang":"en","value":"Craft is a platform for creating digital experiences. From versions 4.0.0-RC1 to 4.16.5 and 5.0.0-RC1 to 5.8.6, there is a potential remote code execution vulnerability via Twig SSTI (Server-Side Template Injection). This is a follow-up to CVE-2024-52293. This vulnerability has been patched in versions 4.16.6 and 5.8.7."}],"affected":[{"vendor":"craftcms","product":"cms","versions":[{"version":">= 4.0.0-RC1, < 4.16.6","status":"affected"},{"version":">= 5.0.0-RC1, < 5.8.7","status":"affected"}]}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-crcq-738g-pqvc","name":"https://github.com/craftcms/cms/security/advisories/GHSA-crcq-738g-pqvc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/craftcms/cms/pull/17612","name":"https://github.com/craftcms/cms/pull/17612","tags":["x_refsource_MISC"]},{"url":"https://github.com/craftcms/cms/commit/e77f8a287dcdda41f1724f525d03542f18566cbc","name":"https://github.com/craftcms/cms/commit/e77f8a287dcdda41f1724f525d03542f18566cbc","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"HIGH","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","vectorString":"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:U","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1336","lang":"en","description":"CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-08-25T17:52:07.786Z"},"source":{"advisory":"GHSA-crcq-738g-pqvc","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-08-25T18:05:02.078269Z","id":"CVE-2025-57811","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-08-25T18:05:18.176Z"}}]}}}