{"id":"CVE-2022-39365","summary":"RCE vulnerability in Pimcore/Mail & Dynamic Text Layout","details":"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.","aliases":["GHSA-5qxq-vgmm-q39m"],"modified":"2026-08-12T03:51:18.979969339Z","published":"2022-10-27T00:00:00Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39365.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39365.json"},{"type":"ADVISORY","url":"https://github.com/pimcore/pimcore/security/advisories/GHSA-5qxq-vgmm-q39m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39365"},{"type":"FIX","url":"https://github.com/pimcore/pimcore/commit/43aa34e018f5cd447bceb864358285ba92f68372"},{"type":"FIX","url":"https://github.com/pimcore/pimcore/pull/13347"},{"type":"FIX","url":"https://github.com/pimcore/pimcore/pull/13347.patch"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pimcore/pimcore","events":[{"introduced":"0"},{"fixed":"228a71a8ddfbd7c2b0f66439597a90c109f669cc"},{"fixed":"43aa34e018f5cd447bceb864358285ba92f68372"}],"database_specific":{"cpe":"cpe:2.3:a:pimcore:pimcore:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"10.5.9"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v10.5.8","v10.5.7","v10.5.6","v10.5.5","v10.5.4","v10.5.3","v10.5.2","v10.5.1","v10.5.0","v10.4.0","v10.3.0","v10.2.1","v10.2.0","v10.1.0","v10.0.0","v10.0.0-BETA4","v10.0.0-BETA3","v10.0.0-BETA2","v10.0.0-BETA1","v6.8.0","v6.7.0","v6.6.4","v6.6.3","v6.6.2","v6.6.1","v6.6.0","v6.5.3","v6.5.2","v6.5.1","v6.5.0","v6.4.2","v6.4.1","v6.4.0","v6.3.6","v6.3.5","v6.3.4","v6.3.3","v6.3.2","v6.3.1","v6.3.0","v6.2.3","v6.2.2","v6.2.1","v6.2.0","v6.1.2","v6.1.1","v6.1.0","v6.0.5","v6.0.4","v6.0.3","v6.0.2","v6.0.1","v6.0.0","v5.8.3","v5.8.2","v5.8.1","v5.8.0","v5.7.3","v5.7.2","v5.7.1","v5.7.0","v5.6.3","v5.5.4","v5.5.2","v5.5.1","v5.5.0","v5.4.4","v5.4.3","v5.4.2","v5.4.1","v5.4.0","v5.3.1","v5.3.0","v5.2.3","v5.2.0","v5.1.3","v5.1.2","v5.1.1","v5.1.0","v5.1.0-alpha","v5.0.4","v5.0.3","v5.0.2","v5.0.1","v5.0.0","v5.0.0-RC","4.4.3","4.4.2","4.4.1","4.4.0","4.3.1","4.2.0","4.1.3","4.1.2","4.1.1","4.1.0","4.0.1","4.0.0","3.1.1","3.1.0","3.0.6","3.0.5","3.0.4","3.0.3","3.0.2","3.0.1","3.0.0","2.3.0","2.2.2","2.2.1","2.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-39365.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}