CVE-2021-37702:
Improper Neutralization of Formula Elements in a CSV File in pimcore/pimcore
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.06615%
CWE
Published
8/30/2021
Updated
2/1/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
pimcore/pimcore | composer | < 10.1.1 | 10.1.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper neutralization of formula elements during CSV export. The patch in PR #9992 adds an escapeCsvFormula()
method to Service.php
and applies it in the Csv exporter. The vulnerable function is the export
method in Csv.php
, which previously wrote raw values without escaping. The fix explicitly adds formula escaping in this export path, confirming this was the vulnerable entry point.