Shopper
Shopper: missing variant-delete authorization permits destructive single and bulk actions
Shopper is a Headless e-commerce Admin Panel. Prior to 2.10.0, the Variants Livewire component in `packages/admin/src/Livewire/Components/Products/Form/Variants.php` exposes `DeleteAction` and `DeleteBulkAction` without server-side authorization. An authenticated staff user with `edit_products` can access `/shopper/products/{id}/edit` and obtain the signed component state even without `delete_product_variants`. The `callTableAction` and `callTableBulkAction` paths then permanently delete individual or multiple variants without checking that dedicated permission. For variant products, this can destroy the sellable catalogue and disrupt storefront product pages, cart, and checkout. This issue is fixed in version 2.10.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.10.0
Fixed in 2.10.0
Mitigation
Upgrade shopper to 2.10.0 or later.
References
- Vendor advisory github.com/shopperlabs/shopper/security/adviso…
- Patch github.com/shopperlabs/shopper/pull/573
- Patch github.com/shopperlabs/shopper/commit/3c814f3b…
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.