CVE-2021-23340
HIGH 7.1CVSS 3.1Path traversal in pimcore/pimcore
This affects the package pimcore/pimcore before 6.8.8. A Local FIle Inclusion vulnerability exists in the downloadCsvAction function of the CustomReportController class (bundles/AdminBundle/Controller/Reports/CustomReportController.php). An authenticated user can reach this function with a GET request at the following endpoint: /admin/reports/custom-report/download-csv?exportFile=&91;filename]. Since exportFile variable is not sanitized, an attacker can exploit a local file inclusion vulnerability.
- Published
- 18 Feb 2021
- Last modified
- 10 Sep 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-h7f9-cvh5-qw7fSNYK-PHP-PIMCOREPIMCORE-1070132
- Sources
- NVDJSONOSV GHSA-h7f9-cvh5-qw7fJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.5 | AV:N/AC:L/Au:S/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pimcore | pimcorecpe:2.3:a:pimcore:pimcore:*:*:*:*:*:*:*:* |
< 6.8.8 | 6.8.8 |
| OSV | Packagist | pimcore/pimcore | < 6.8.8 | 6.8.8 |
References
- https://github.com/pimcore/pimcore/blob/v6.7.2/bundles/AdminBundle/Controller/Reports/CustomReportController.php%23L454 · Broken Link, Third Party Advisory, WEB
- https://github.com/pimcore/pimcore/commit/1786bdd4962ee51544fad537352c2b4223309442 · Patch, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-PHP-PIMCOREPIMCORE-1070132 · Exploit, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-23340 · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 18 Feb 2021)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 25 Feb 2021)