{"id":"CVE-2022-39365","aliases":["CVE-2022-39365","GHSA-5qxq-vgmm-q39m"],"related":[],"kind":"vulnerability","state":"published","title":"RCE vulnerability in Pimcore/Mail & Dynamic Text Layout","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\nThe user controlled twig templates rendering in `Pimcore/Mail` & `ClassDefinition\\Layout\\Text` is vulnerable to server-side template Injection RCE.\n\n### Patches\nUpdate to version 10.5.9 or apply this patch manually https://github.com/pimcore/pimcore/pull/13347.patch\n\n### Workarounds\nApply https://github.com/pimcore/pimcore/pull/13347.patch manually.\n\n### References\nCredits: @nth347 from Viettel Cyber Security","format":"markdown","source":"ghsa"},{"lang":"es","text":"Pimcore es una plataforma de gestión de experiencias y datos de código abierto. Antes de la versión 10.5.9, la representación de plantillas twig controladas por el usuario en `Pimcore/Mail` y `ClassDefinition\\Layout\\Text` es vulnerable a la inyección de plantillas del lado del servidor, lo que podría conducir a la ejecución remota de código. La versión 10.5.9 contiene un parche para este problema. Como workaround, se puede aplicar el parche manualmente.","source":"nvd"}],"published":"2022-10-27T00:00:00.000Z","modified":"2026-06-17T04:58:13.320Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"< 10.5.9","status":"affected"}],"vendor":"pimcore","product":"pimcore","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"10.5.9"}],"ecosystem":"Packagist","package":"pimcore/pimcore","purl":"pkg:composer/pimcore/pimcore","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"10.5.9"}],"vendor":"pimcore","product":"pimcore","cpe":"cpe:2.3:a:pimcore:pimcore:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/pimcore/pimcore/security/advisories/GHSA-5qxq-vgmm-q39m","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pimcore/pimcore/pull/13347","tags":["issue-tracking","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pimcore/pimcore/pull/13347.patch","tags":["mailing-list","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pimcore/pimcore/commit/43aa34e018f5cd447bceb864358285ba92f68372","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39365","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pimcore/pimcore","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2025-04-23T15:48:21.435Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-39365","url":"https://www.cve.org/CVERecord?id=CVE-2022-39365","licence":"CVE Terms of Use","modified":"2025-04-23T16:42:09.909Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5qxq-vgmm-q39m","url":"https://github.com/advisories/GHSA-5qxq-vgmm-q39m","licence":"CC-BY-4.0","modified":"2023-11-08T04:10:19.917Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-39365","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39365","licence":"Public domain","modified":"2026-06-17T04:58:13.320Z"}],"updatedAt":"2026-11-25T22:58:16.038Z","epss":{"score":0.02284,"percentile":0.83648,"date":"2026-12-01T12:00:22.000Z"}}