Skip to main content

Bagisto CVE-2026-21448

CRITICAL
Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336)
2026-01-02 security-advisories@github.com GHSA-5j4h-4f72-qpm6
9.8
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

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

  1. Access
    Access Bagisto checkout flow
  2. Exploit
    Enter malicious template syntax in address field
  3. Execution
    Inject payload into admin view rendering
  4. Impact
    Execute arbitrary code on server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
Exploitation Conditions

Bagisto versions prior to 2.3.10 with the 'add address' step in checkout enabled. No authentication required — any unauthenticated user can inject SSTI payload during customer order placement.

Impact

CVSS 9.8 (Critical). No auth (any customer can place an order), network vector, low complexity. PoC available. Ecommerce RCE can lead to payment data theft. EPSS 0.16%.

Exploit ScenarioDerived

A customer places an order with a Blade template injection payload in their shipping address (e.g., {{system('whoami')}}). When the store admin opens the order details, the payload executes on the server, giving the attacker a shell.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Mar 12, 2026

Bagisto eCommerce platform before 2.3.10 is vulnerable to server-side template injection (SSTI) through customer address fields during checkout. A normal customer can inject Blade template code that executes when viewed in the admin panel, achieving RCE. PoC available.

Earlier versions of this analysis (1)
v1 Mar 12, 2026 - 21:54 CVSS 9.8

Bagisto allows customers to inject server-side template code through address fields that executes as RCE when viewed by admins.

RemediationAI

Update to Bagisto 2.3.10. Audit recent orders for suspicious address values. Ensure all user input is escaped before template rendering.

Affected Packages

composer bagisto/bagisto fix: 2.3.10

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

Customer-supplied address data is rendered through the Blade template engine without sanitization (CWE-1336). When an administrator views the order in the admin panel, the injected template code executes on the server with the web application's privileges, achieving remote code execution.

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

GitHub Advisory PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
PoC Detected
Jan 08, 2026 - 21:22 vuln.today
Public exploit code
CVE Published
Jan 02, 2026 - 21:15 nvd
CRITICAL 9.8

DescriptionGitHub Advisory

Bagisto is an open source laravel eCommerce platform. Versions prior to 2.3.10 are vulnerable to server-side template injection. When a normal customer orders any product, in the add address step they can inject a value to run in admin view. The issue can lead to remote code execution. Version 2.3.10 contains a patch.

Executive ViewAI

Why It Matters

Organizations using Bagisto face critical risk from CVE-2026-21448 rated CVSS 9.8. Successful exploitation could critically impact the confidentiality, integrity, and availability of affected systems. Proof-of-concept code is publicly available, increasing the risk of exploitation. Organizations should apply vendor updates immediately when available and implement compensating controls in the interim.

Business Impact: Severe
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: (1) Implement network-level access controls to limit exposure; (2) Enable enhanced monitoring and alerting; (3) Apply principle of least privilege.

Threat Intelligence Overview

EPSS Score
0.2%
Top 63% exploitable
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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 CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
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
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

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

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)GitHub Advisory

cpe:2.3:a:webkul:bagisto:*:*:*:*:*:*:*:*
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-62417 HIGH POC
7.1 Oct 16

CSV formula injection in Bagisto through 2.3.7 allows a user who can create or edit product data to store spreadsheet fo

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