CVE-2026-21448
JSON

8.9high

Bagisto has Normal & Blind SSTI from low-privilege user when ordering product

Severity
8.9high CVSS:4.0 by GitHub_M
Exploit likelihood
0.91% (higher than 60% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-5j4h-4f72-qpm6

Description

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.

Affected

Product or packageVersionsReported by
bagisto bagisto< 2.3.10CVE List
bagisto/bagisto (Packagist)before 2.3.10GitHub Advisory Database
webkul bagistobefore 2.3.10NVD

All scores

GitHub_M8.9high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
GitHub9.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-1336

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database
Summary

SSTI when normal customer orders any product in add address step can inject value run in admin view.

Details

As normal user

  1. Go to http://127.0.0.1:8000/
  2. Add order to cart and continue to checkout
  3. In step of add address inject this value {{7*7}} in any input

As admin

  1. Go to http://127.0.0.1:8000/admin/sales/orders
  2. And notice the vlaue appear in admin view 49

As normal user 3. Go to add address normally http://127.0.0.1:8000/customer/account/addresses/create and inject {{7*7}} on it and will notice it appear 49 image

PoC
Impact
  • Can lead to RCE
NVD (es)

Bagisto es una plataforma de comercio electrónico laravel de código abierto. Las versiones anteriores a la 2.3.10 son vulnerables a la inyección de plantillas del lado del servidor. Cuando un cliente normal pide cualquier producto, en el paso 'añadir dirección' pueden inyectar un valor para ejecutar en la vista de administrador. El problema puede llevar a la ejecución remota de código. La versión 2.3.10 contiene un parche.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-21448 changed 2026-01-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-5j4h-4f72-qpm6 changed 2026-02-03CC-BY-4.0
NVDCVE-2026-21448 changed 2026-06-17Public domain