7.1high
bagisto - CSV Formula Injection in Create New Product
- Severity
- 7.1high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.39% (higher than 35% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-jqrp-58fv-w8cq
Description
Bagisto is an open source laravel eCommerce platform. When product data that begins with a spreadsheet formula character (for example =, +, -, or @) is accepted and later exported or saved into a CSV and opened in spreadsheet software, the spreadsheet will interpret that cell as a formula. This allows an attacker to supply a CSV field (e.g., product name) that contains a formula which may be evaluated by a victim’s spreadsheet application — potentially leading to data exfiltration and remote command execution (via older Excel exploits / OLE/cmd constructs or Excel macros). This vulnerability is fixed in 2.3.8.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| bagisto bagisto | < 2.3.8 | CVE List |
| bagisto/bagisto (Packagist) | before 2.3.8 | GitHub Advisory Database |
| webkul bagisto | 2.3.7 | NVD |
All scores
| GitHub_M | 7.1high CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P |
| GitHub | 9.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
Bagisto is an open source laravel eCommerce platform. When product data that begins with a spreadsheet formula character (for example =, +, -, or @) is accepted and later exported or saved into a CSV and opened in spreadsheet software, the spreadsheet will interpret that cell as a formula. This allows an attacker to supply a CSV field (e.g., product name) that contains a formula which may be evaluated by a victim’s spreadsheet application — potentially leading to data exfiltration and remote command execution (via older Excel exploits / OLE/cmd constructs or Excel macros). This vulnerability is fixed in 2.3.8.
GitHub Advisory Database
Summary
When product data that begins with a spreadsheet formula character (for example =, +, -, or @) is accepted and later exported or saved into a CSV and opened in spreadsheet software, the spreadsheet will interpret that cell as a formula. This allows an attacker to supply a CSV field (e.g., product name) that contains a formula which may be evaluated by a victim’s spreadsheet application — potentially leading to data exfiltration and remote command execution (via older Excel exploits / OLE/cmd constructs or Excel macros).
Details
Spreadsheet applications treat cell text that begins with characters =, +, -, @ as formulas. If unescaped, spreadsheet will interpret and evaluate the content when the file is opened. The application fails to neutralize/escape leading formula characters when generating CSV or when accepting CSV import fields for display/export.
PoC
Insert CSV formula to the product name field, and save the changes. Export it to CSV file, open it and the calc.exe will be executed. Other CSV export functions are affected as well. http://127.0.0.1/admin/catalog/products/edit/1 image image
Impact
Data exfiltration: Using spreadsheet functions (e.g., WEBSERVICE, HYPERLINK, or concatenation to create requests) on victims' machines that make network calls. Remote command execution: In some historical cases, specially crafted formulas and older Excel behaviors can lead to RCE. Modern Excel hardens many of these, but risk remains depending on environment.
NVD (es)
Bagisto es una plataforma de eCommerce laravel de código abierto. Cuando los datos de un producto que comienzan con un carácter de fórmula de hoja de cálculo (por ejemplo, =, +, -, o @) son aceptados y luego exportados o guardados en un CSV y abiertos en un software de hoja de cálculo, la hoja de cálculo interpretará esa celda como una fórmula. Esto permite a un atacante suministrar un campo CSV (por ejemplo, nombre del producto) que contiene una fórmula que puede ser evaluada por la aplicación de hoja de cálculo de una víctima - lo que podría llevar a la exfiltración de datos y a la ejecución remota de comandos (a través de exploits antiguos de Excel / construcciones OLE/cmd o macros de Excel). Esta vulnerabilidad está corregida en 2.3.8.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-62417 changed 2025-10-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jqrp-58fv-w8cq changed 2025-10-16 | CC-BY-4.0 |
| NVD | CVE-2025-62417 changed 2026-10-19 | Public domain |