CVE-2026-62990
Shopper: same-origin SVG and HTML uploads enable stored XSS and persistent administrator creation
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.
Fixes and workarounds
No remediation reported in collected sources.
Missing remediation information is not evidence that no patch exists.
Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| shopper shopperlabs |
>= 2.0.0, < 2.10.1 (affected) >= 3.0.0-beta.1, < 3.0.0-beta.3 (affected) |
CNA: GitHub_M |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 8.7 high |
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N | CNA: GitHub_M |
Exploit evidence
- https://github.com/shopperlabs/shopper/security/advisories/GHSA-vmvv-x5cp-2qv6
exploit · ADP: CISA-ADP
References
- https://github.com/shopperlabs/shopper/security/advisories/GHSA-vmvv-x5cp-2qv6CNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/shopperlabs/shopper/pull/595CNA: GitHub_M · x_refsource_MISC
- https://github.com/shopperlabs/shopper/pull/597CNA: GitHub_M · x_refsource_MISC
- https://github.com/shopperlabs/shopper/commit/12be681db5f603a364d5f03f1974ff2a20e99b99CNA: GitHub_M · x_refsource_MISC
- https://github.com/shopperlabs/shopper/commit/ad2c5b9b968ff49c37130c6b9d1dba7f20eebbf6CNA: GitHub_M · x_refsource_MISC
- https://github.com/shopperlabs/shopper/compare/v3.0.0-beta.1...v3.0.0-beta.3CNA: GitHub_M · x_refsource_MISC
- https://github.com/shopperlabs/shopper/releases/tag/v2.10.1CNA: GitHub_M · x_refsource_MISC
- https://github.com/shopperlabs/shopper/releases/tag/v3.0.0-beta.3CNA: GitHub_M · x_refsource_MISC
- https://github.com/shopperlabs/shopper/security/advisories/GHSA-vmvv-x5cp-2qv6ADP: CISA-ADP · exploit
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.