Skip to main content

Bagisto CVE-2025-62417

HIGH
Improper Neutralization of Formula Elements in a CSV File (CWE-1236)
2025-10-16 security-advisories@github.com
7.1
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Bagisto admin/seller panel
  2. Delivery
    Inject spreadsheet formula into product name field
  3. Exploit
    Privileged user exports catalog to CSV
  4. Execution
    Victim opens CSV in Excel
  5. Impact
    Formula 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).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

composer bagisto/bagisto fix: 2.3.8

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

Vendor (github) PRIMARY 7.1 HIGH
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
vuln.today AI 7.3 HIGH

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.

3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Low
niche open-source Laravel eCommerce platform, modest production footprint
Exploit
POC
Public exploit code exists
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:webkul:bagisto:2.3.7:*:*:*:*:*:*:*
CVE-2026-21448 CRITICAL POC
9.8 Jan 02

Bagisto eCommerce platform before 2.3.10 is vulnerable to server-side template injection (SSTI) through customer address

CVE-2026-21446 CRITICAL POC
9.8 Jan 02

Bagisto eCommerce platform (2.3 branch before 2.3.10) leaves installation API routes active after setup, allowing unauth

CVE-2026-21449 HIGH POC
8.8 Jan 02

Bagisto eCommerce platform versions before 2.3.10 suffer from server-side template injection through user-controllable f

CVE-2023-33570 HIGH POC
8.8 Jun 28

Bagisto v1.5.1 is vulnerable to Server-Side Template Injection (SSTI). Rated high severity (CVSS 8.8), this vulnerabilit

CVE-2019-16403 HIGH POC
8.8 Sep 18

In Webkul Bagisto before 0.1.5, the functionalities for customers to change their own values (such as address, review, o

CVE-2019-14933 HIGH POC
8.8 Aug 11

Bagisto 0.1.5 allows CSRF under /admin URIs. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable,

CVE-2026-9506 HIGH POC
8.7 Jun 08

Arbitrary file read in Bagisto v2.4.1 allows unauthenticated remote attackers to retrieve sensitive files outside the we

CVE-2026-21451 HIGH POC
8.4 Jan 02

Stored XSS in Bagisto's CMS page editor allows authenticated attackers to bypass input sanitization by crafting maliciou

CVE-2026-21447 HIGH POC
7.1 Jan 02

Bagisto is an open source laravel eCommerce platform. [CVSS 7.1 HIGH]

CVE-2025-62416 MEDIUM POC
6.8 Oct 16

Server-side template injection in Bagisto 2.3.7 lets an authenticated backend user with product-creation privileges inje

CVE-2024-27499 MEDIUM POC
6.5 Mar 01

Bagisto v1.5.1 is vulnerable for Cross site scripting(XSS) via png file upload vulnerability in product review option. R

CVE-2026-21450 CRITICAL
9.8 Jan 02

Bagisto before 2.3.10 has a second server-side template injection vulnerability, this time via the type parameter. Like

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy