Bagisto
CVE-2025-62417
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Bagisto admin/seller panel
-
DeliveryInject spreadsheet formula into product name field
-
ExploitPrivileged user exports catalog to CSV
-
ExecutionVictim opens CSV in Excel
-
ImpactFormula triggers data exfiltration or command execution
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V1 - Encoding and Sanitization CSV injection prevention
|
| Exploitation Conditions | Exploitation requires an attacker able to write product data via Bagisto's Create/Edit Product function (http://.../admin/catalog/products/edit/N) - realistically authenticated admin or seller access unless the store exposes unauthenticated product submission. A privileged user must then invoke a CSV export (product catalog or other affected export functions), and a victim must open the resulting file in spreadsheet software such as Excel. Limiting factors that reduce realistic risk: (1) injection occurs in an authenticated back-office form, not an open public field; (2) the payload only fires after a human performs the export and another human opens the file; (3) reliable impact is data exfiltration via functions like WEBSERVICE/HYPERLINK, while command execution depends on legacy Excel/OLE behavior or users accepting formula-execution security prompts, both mitigated on patched modern spreadsheet software. Fixed in 2.3.8 by neutralizing leading formula characters (=, +, -, @) on CSV generation and import display. |
| Impact | This is a CWE-1236 CSV/formula injection flaw in Bagisto <=2.3.7, rated moderately high (CVSS 4.0 base 7.1). Signal analysis is mixed and leans toward a conditional, operator-dependent risk rather than a top-priority emergency. The vendor's CVSS 4.0 vector uses AV:L and UI:P, correctly recognizing that code/formula evaluation happens on a victim's local spreadsheet application rather than directly over the network - so this is NOT remote unauthenticated server RCE despite the alarming 'remote command execution' language. POC exploit code is publicly available (demonstrating calc.exe launch), which raises practical risk, but there is NO CISA KEV listing and no EPSS score was provided, so there is no evidence of active, widespread exploitation - treat it as proof-of-concept, not in-the-wild. A key caveat: the vendor rates PR:N, yet the documented injection point is the authenticated admin 'Create/Edit Product' panel, which realistically requires at least low-privilege authenticated access (PR:L) unless the store exposes unauthenticated product submission (e.g., a marketplace/seller onboarding flow) - verify the deployment's input surface. The 'remote command execution' impact is also partly historical: modern Excel hardens most OLE/formula RCE paths, so the reliable impact today is data exfiltration (WEBSERVICE/HYPERLINK callbacks), with RCE conditional on legacy software or users clicking through security prompts. Net: a real, confirmed defect worth patching, but its exploitation chain depends on a privileged export action plus victim behavior, so it is a medium-grade priority rather than a high-CVSS, high-real-risk crisis. |
| Exploit ScenarioDerived | An attacker with access to the product-creation form enters a spreadsheet formula (e.g., =cmd|'/c calc'!A1 or =WEBSERVICE(...)) into the product name field and saves it. Later, a store administrator exports the catalog to CSV and opens it in Excel, at which point the spreadsheet evaluates the crafted formula, enabling data exfiltration via outbound callbacks or, on legacy/misconfigured spreadsheet software, command execution. A public POC demonstrating calc.exe execution exists; attack vector is local to the victim's spreadsheet application (AV:L) and requires the victim to open the exported file (UI). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 19, 2026
CSV formula injection in Bagisto through 2.3.7 allows a user who can create or edit product data to store spreadsheet formulas in fields such as product name, which are then written unescaped into exported CSV files. When an administrator or other victim opens the export in Excel or similar software, the formula may be evaluated, enabling data exfiltration through functions such as WEBSERVICE or HYPERLINK and, in legacy or permissive spreadsheet environments, possible command execution. Publicly available exploit code exists, but exploitation requires a product-data write, a CSV export action, and a victim opening the file; there is no CISA KEV confirmation. The issue is fixed in 2.3.8.
RemediationAI
Upgrade to Bagisto 2.3.8, the vendor-released patch, which includes commit 8076c708498a0187bc952d5f5f705e0cb1919682 and neutralizes leading formula characters (=, +, -, @) during CSV generation and import display; see https://github.com/bagisto/bagisto/security/advisories/GHSA-jqrp-58fv-w8cq and the commit URL. If immediate upgrade is not possible, restrict product create/edit privileges to trusted admin and seller roles and audit who can trigger catalog exports, accepting reduced back-office flexibility; sanitize CSV output by prefixing leading formula characters with an apostrophe or tab and quoting fields, accepting that raw values may change for downstream import/ETL consumers; and configure spreadsheet clients to block formula/macro execution or use Protected View when opening Bagisto exports, accepting extra user prompts and reduced automation. Because public exploit code exists, prioritize upgrade where untrusted or lower-privileged users can edit product data and exports are routinely opened in spreadsheet software.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in composer
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This is CWE-1236, improper neutralization of formula elements in a CSV file, in Bagisto, an open-source Laravel eCommerce platform. Spreadsheet applications treat cells beginning with =, +, -, or @ as formulas; Bagisto 2.3.7 (CPE cpe:2.3:a:webkul:bagisto:2.3.7; Composer package composer/bagisto/bagisto <=2.3.7) accepts such strings in product data such as the product name and later emits them without escaping during CSV export or import display. The vulnerable flow is back-office: a user with product create/edit access stores the payload, a privileged user triggers a catalog or other affected CSV export, and a victim opens the resulting file. The GHSA advisory rates CVSS 4.0 base 7.1, while our assessment maps to CVSS 3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H. Reliable impact is data exfiltration via spreadsheet network functions; command execution depends on legacy Excel/OLE behavior or users accepting formula-execution prompts, which modern spreadsheet hardening reduces. The 2.3.8 fix neutralizes leading formula characters on CSV generation and import display.
Know when Bagisto gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Payload executes locally in the victim's spreadsheet (AV:L) and requires the victim to open the exported file (UI:R); injection needs authenticated product-write access, so PR:L rather than PR:N.
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
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.
Executive ViewAI
Bagisto e-commerce platform versions through 2.3.7 are affected by a CSV formula injection flaw that can lead to data exfiltration and, in permissive spreadsheet environments, possible command execution when administrators open exported product files. Leadership should care because administrative workflows are impacted, publicly available exploit code exists, and a vendor fix is available in version 2.3.8. Organizations using Bagisto should verify their version and limit product-data write access to trusted users.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)CVE.org
Bagisto eCommerce platform before 2.3.10 is vulnerable to server-side template injection (SSTI) through customer address
Bagisto eCommerce platform (2.3 branch before 2.3.10) leaves installation API routes active after setup, allowing unauth
Bagisto eCommerce platform versions before 2.3.10 suffer from server-side template injection through user-controllable f
Bagisto v1.5.1 is vulnerable to Server-Side Template Injection (SSTI). Rated high severity (CVSS 8.8), this vulnerabilit
In Webkul Bagisto before 0.1.5, the functionalities for customers to change their own values (such as address, review, o
Bagisto 0.1.5 allows CSRF under /admin URIs. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable,
Arbitrary file read in Bagisto v2.4.1 allows unauthenticated remote attackers to retrieve sensitive files outside the we
Stored XSS in Bagisto's CMS page editor allows authenticated attackers to bypass input sanitization by crafting maliciou
Bagisto is an open source laravel eCommerce platform. [CVSS 7.1 HIGH]
Server-side template injection in Bagisto 2.3.7 lets an authenticated backend user with product-creation privileges inje
Bagisto v1.5.1 is vulnerable for Cross site scripting(XSS) via png file upload vulnerability in product review option. R
Bagisto before 2.3.10 has a second server-side template injection vulnerability, this time via the type parameter. Like
NVD
CVE.org
EPSS
GitHub
Exploit-DB