---
id: "CVE-2026-62990"
kind: "vulnerability"
aliases: ["CVE-2026-62990"]
title: "Shopper admin panel: stored upload runs script in administrators' sessions"
severity: "high"
cvss: 8.7
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["e-commerce", "laravel", "package", "self-hosted", "shopper"]
not_affected_if: ["auth-required", "fixed-version", "no-upload-permission"]
published_at: "2026-10-30T21:17:16+00:00"
first_seen_at: "2026-10-30T21:25:54+00:00"
updated_at: "2026-10-30T21:26:32+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-62990", "first_seen_at": "2026-10-30T21:25:54+00:00"}]
---

# Shopper admin panel: stored upload runs script in administrators' sessions

Shopper, a headless e-commerce admin panel, serves uploaded SVG and HTML files inline on the admin's own origin without restrictions. A staff member with product or brand upload rights can plant a file that, when an administrator opens it, runs script that creates a new administrator account with a chosen password.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed Shopper version in `packages/admin` or `composer.lock`; versions from `2.0.0` before `2.10.1` and `3.0.0-beta.1` and `3.0.0-beta.2` are affected
- Look for uploaded `.svg` or `.html` files under the public disk `/storage/` path
- Review staff accounts with `edit_products` or `add_brands` permissions

## Fix

- Shopper 2.x: upgrade to `2.10.1`
- Shopper 3.x prereleases: upgrade to `3.0.0-beta.3`

## Timeline

- 2026-10-30T21:25:54+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-62990

## From the sources

Shopper is a Headless e-commerce Admin Panel. In versions from 2.0.0 prior to 2.10.1 and in the 3.0.0 prereleases beta.1 and beta.2, authenticated back-office staff with a content-upload permission can store executable media on the administrator's own origin. In the 2.x implementation, relevant upload permissions include `edit_products` or `add_brands`, and `packages/admin/config/media.php` allows `image/svg+xml` in every media collection, including image fields whose image/* validation also accepts SVG. The product files collection in `packages/admin/src/Livewire/Components/Products/Form/Files.php` has no MIME restriction and accepts `text/html` as well. Media is served inline from the `public` disk under `/storage/` with its own content type, without `Content-Disposition: attachment` or a `Content-Security-Policy`. When an administrator opens an uploaded HTML or SVG file, stored script executes in that administrator's session. In 2.x, the script can invoke `packages/admin/src/Livewire/SlideOvers/CreateTeamMember.php`, whose `store()` checks `access_setting` held by the viewing administrator but trusts client-supplied `role_id`, to create a new attacker-controlled administrator with a chosen password. This account persists after the uploaded file is deleted and gives access to customer data, orders, settings, and user/role management; the same script can exfiltrate data or grant permissions to the attacker's account. Direct account creation by the low-privileged uploader is blocked, so exploitation requires the administrator to open the file. The 3.x prerelease line already excludes SVG but still allows executable product files. This issue is fixed in versions 2.10.1 and 3.0.0-beta.3.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
