CVE-2026-21449
JSON

7.4high

Bagisto has SSTI via first and last name from low-privilege user (not admin)

Severity
7.4high CVSS:4.0 by GitHub_M
Exploit likelihood
0.50% (higher than 44% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-mqhg-v22x-pqj8

Description

Bagisto is an open source laravel eCommerce platform. Versions prior to 2.3.10 are vulnerable to server-side template injection via first name and last name from a low-privilege user. Version 2.3.10 fixes the issue.

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_M7.4high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/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 via first name and last name from a low-privilege user. Version 2.3.10 fixes the issue.

GitHub Advisory Database
Summary

SSTI is possible via first name and last name parameters provided by lowest-privileged users.

Details
  1. Go to http://127.0.0.1:8000/ and login or signup
  2. Go to http://127.0.0.1:8000/customer/account/profile
  3. Now edit the first name and last name to {{7*7}}
  4. Notice it appears as 49
POC
Impact

This can lead to RCE, command injection.

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 a través del nombre y apellido de un usuario con bajos privilegios. La versión 2.3.10 corrige el problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-21449 changed 2026-01-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-mqhg-v22x-pqj8 changed 2026-02-03CC-BY-4.0
NVDCVE-2026-21449 changed 2026-06-17Public domain