{"id":"CVE-2025-62417","aliases":["CVE-2025-62417","GHSA-jqrp-58fv-w8cq"],"related":[],"kind":"vulnerability","state":"published","title":"bagisto - CSV Formula Injection in Create New Product","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\nWhen 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).\n\n### Details\nSpreadsheet 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.\n\n### PoC\nInsert 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.\nhttp://127.0.0.1/admin/catalog/products/edit/1\n<img width=\"408\" height=\"302\" alt=\"image\" src=\"https://github.com/user-attachments/assets/2c6fd1e3-6725-4bf4-9c64-20cd57f4e279\" />\n<img width=\"1696\" height=\"854\" alt=\"image\" src=\"https://github.com/user-attachments/assets/911a69ae-65ac-4a8a-ad8e-63571a9610c8\" />\n\n### Impact\nData exfiltration: Using spreadsheet functions (e.g., WEBSERVICE, HYPERLINK, or concatenation to create requests) on victims' machines that make network calls.\nRemote 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-10-16T18:32:45.964Z","modified":"2026-10-19T16:10:00.260Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-1236"],"affected":[{"ranges":[{"version":"< 2.3.8","status":"affected"}],"vendor":"bagisto","product":"bagisto","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.3.8"}],"ecosystem":"Packagist","package":"bagisto/bagisto","purl":"pkg:composer/bagisto/bagisto","source":"ghsa"},{"ranges":[{"status":"affected","version":"2.3.7"}],"vendor":"webkul","product":"bagisto","cpe":"cpe:2.3:a:webkul:bagisto:2.3.7:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/bagisto/bagisto/security/advisories/GHSA-jqrp-58fv-w8cq","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/bagisto/bagisto/commit/8076c708498a0187bc952d5f5f705e0cb1919682","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/bagisto/bagisto","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-10-17T14:32:45.377Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-62417","url":"https://www.cve.org/CVERecord?id=CVE-2025-62417","licence":"CVE Terms of Use","modified":"2025-10-17T14:32:48.820Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jqrp-58fv-w8cq","url":"https://github.com/advisories/GHSA-jqrp-58fv-w8cq","licence":"CC-BY-4.0","modified":"2025-10-16T21:07:12.705Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-62417","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62417","licence":"Public domain","modified":"2026-10-19T16:10:00.260Z"}],"updatedAt":"2026-11-25T22:59:06.515Z","epss":{"score":0.00392,"percentile":0.35448,"date":"2026-12-01T12:00:22.000Z"}}