GitHub Advisoryadvisory · Packagist
GHSA-mqhg-v22x-pqj8 Bagisto is vulnerable to SSTI via name parameters provided by non-admin low-privilege users
HIGH
Official page ↗
- Aliases
- CVE-2026-21449
- Ecosystem
- Packagist
- Packages
- bagisto/bagisto
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-1336
- Reviewed
- 2026-01-02
Affected packages
• Packagist bagisto/bagisto: < 2.3.10 → fixed in 2.3.10
Description
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.
Related
Alias · CVE (1)
- CVE-2026-21449 Bagisto is an open source laravel eCommerce platform. vulnerability
Weakness · CWE (1)
- CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine weakness
References
- 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