Shopper
Shopper: Unauthorized inventory stock manipulation via unlocked variant property in VariantStock component
Shopper is a Headless e-commerce Admin Panel. Prior to 2.9.2, packages/admin/src/Livewire/Components/Products/VariantStock.php exposes stockAction() without edit_product_variants authorization and leaves public $variant client mutable because it lacks the Livewire Locked attribute. Any authenticated admin-panel user, including staff with only browse_products, can select an arbitrary product variant and inventory location through component state, then submit a positive or negative quantity adjustment. This permits browse-only staff to inflate stock, reduce stock, or force out-of-stock states for variants outside the current page. This issue is fixed in version 2.9.2.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.9.2
Fixed in 2.9.2
Mitigation
Upgrade shopper to 2.9.2 or later.
References
- Vendor advisory github.com/shopperlabs/shopper/security/adviso…
- Patch github.com/shopperlabs/shopper/pull/570
- Patch github.com/shopperlabs/shopper/commit/bf72e275…
1 more
- Release notes github.com/shopperlabs/shopper/releases/tag/v2…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.