CVE-2022-39365: Pimcore - Server-Side Template Injection
- Cve: CVE-2022-39365
- Name: Pimcore - Server-Side Template Injection
- Description: 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.
- Impact: Attackers can execute arbitrary code on the server, potentially leading to full system compromise.
- Remediation: Update to version 10.5.9 or apply the patch manually.
- Vulnerability type: template_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.02284
- Epss percentile: 0.83491
- Assignee: [email protected]
- Published at: 2022-10-27T15:15:10Z
- Age in days: 1489
- Modified at: 2026-06-17T04:58:13Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-39365
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/pimcore/pimcore/commit/43aa34e018f5cd447bceb864358285ba92f68372 | Patch, Third Party Advisory |
| https://github.com/pimcore/pimcore/pull/13347 | Issue Tracking, Patch, Third Party Advisory |
| https://github.com/pimcore/pimcore/pull/13347.patch | Mailing List, Patch, Third Party Advisory |
| https://github.com/pimcore/pimcore/security/advisories/GHSA-5qxq-vgmm-q39m | Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| pimcore:pimcore | < 10.5.9 | no | nvd | /v1/products/pimcore/pimcore |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| pimcore/pimcore | commit, fix, package, pull, security_advisory | yes | /v1/repositories/pimcore/pimcore |
Index
- Repositories: 9
- Repositories high signal: 5
- Checked, none or zero: packages
Exploitation
- Remote: yes
- Exposed hosts: 2064
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports