HIGH8.8
GHSA-mqhg-v22x-pqj8
Bagisto is vulnerable to SSTI via name parameters provided by non-admin low-privilege users
Quick fix
GHSA-mqhg-v22x-pqj8 — bagisto/bagisto: upgrade to the fixed version with the command below.
composer require bagisto/bagisto:^2.3.10Details
### 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 - Video attached with the report: https://github.com/user-attachments/assets/f93932b5-2a57-4f34-897e-4151a5168912
### Impact This can lead to RCE, command injection.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/bagisto/bagisto
Introduced in:
0Fixed in: 2.3.10Fix
composer require bagisto/bagisto:^2.3.10References
- https://github.com/bagisto/bagisto/security/advisories/GHSA-mqhg-v22x-pqj8[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2026-21449[ADVISORY]
- https://github.com/bagisto/bagisto/commit/4144931da0014c696f9126132ce44d7cfbdb2761[WEB]
- https://github.com/bagisto/bagisto[PACKAGE]
- https://github.com/bagisto/bagisto/releases/tag/v2.3.10[WEB]