{"id":"CVE-2022-39365","published":"2022-10-27T00:00:00Z","modified":"2025-04-23T16:42:09Z","title":"RCE vulnerability in Pimcore/Mail & Dynamic Text Layout","vendor":"pimcore","product":"pimcore","tier":"tail","description":{"text":"Pimcore is an open source data and experience management platform. Prior to version 10.5.9, the user controlled twig templates rendering in `Pimcore/Mail` & `ClassDefinition\\Layout\\Text` is vulnerable to server-side template injection, which could lead to remote code execution. Version 10.5.9 contains a patch for this issue. As a workaround, one may apply the patch manually.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02284,"percentile":0.8358,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/pimcore/pimcore/security/advisories/GHSA-5qxq-vgmm-q39m","tags":[]},{"url":"https://github.com/pimcore/pimcore/pull/13347","tags":[]},{"url":"https://github.com/pimcore/pimcore/pull/13347.patch","tags":[]},{"url":"https://github.com/pimcore/pimcore/commit/43aa34e018f5cd447bceb864358285ba92f68372","tags":[]}],"priority":{"score":23.6,"factors":[{"name":"EPSS percentile","points":16.72},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"pimcore","affectedVersions":[{"vendor":"pimcore","product":"pimcore","versions":["< 10.5.9"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-04-23T15:48:21.435257Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"pimcore/pimcore","vulnerableRanges":["<10.5.9"],"patched":["10.5.9"],"from":["GHSA-5qxq-vgmm-q39m"],"provenance":"source"}],"summary":{"text":"The flaw is a server-side template injection in the Pimcore platform's Mail component and its dynamic Text layout (ClassDefinition\\Layout\\Text), where user-controlled Twig templates are rendered unsafely. An attacker who can supply such template content can execute arbitrary code on the server, provided the affected Pimcore version is in use (prior to 10.5.9), and the attack needs no authentication or user interaction over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:37:45Z"},"euvd":{"id":"EUVD-2022-7032","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-2796","published":"2022-08-23","fixed":"10.5.4","kev":false},{"cve":"CVE-2022-3211","published":"2022-09-15","fixed":"10.5.6","kev":false},{"cve":"CVE-2022-3255","published":"2022-09-21","fixed":"10.5.7","kev":false,"link":{"from":"CVE-2022-3255","to":"CVE-2022-39365","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:pimcore/pimcore","fromFixed":"10.5.7","toFixed":"10.5.9","daysApart":36}]}},{"cve":"CVE-2022-39365","published":"2022-10-27","fixed":"10.5.9","kev":false},{"cve":"CVE-2023-0323","published":"2023-01-16","fixed":"10.5.14","kev":false,"link":{"from":"CVE-2022-39365","to":"CVE-2023-0323","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:pimcore/pimcore","fromFixed":"10.5.9","toFixed":"10.5.14","daysApart":81}]}},{"cve":"CVE-2023-23937","published":"2023-02-03","fixed":"10.5.16","kev":false},{"cve":"CVE-2023-25240","published":"2023-02-13","fixed":"10.5.16","kev":false}],"package":"Packagist:pimcore/pimcore"}}