bagisto/bagisto · Security

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

GHSA ID
GHSA-5j4h-4f72-qpm6
CVE ID
CVE-2026-21448
Severity
high
Published
Updated
CVSS
9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v3
9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4
8.9 · CVSS: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

Description

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

PoC

Impact

  • Can lead to RCE

CWEs

References