{"id":"CVE-2026-62990","kind":"vulnerability","aliases":["CVE-2026-62990"],"related":[],"title":"Shopper admin panel: stored upload runs script in administrators' sessions","description":"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.","summary":"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.","severity":"high","cvss":8.7,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["e-commerce","laravel","package","self-hosted","shopper"],"not_affected_if":["auth-required","fixed-version","no-upload-permission"],"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\n- Look for uploaded `.svg` or `.html` files under the public disk `/storage/` path\n- Review staff accounts with `edit_products` or `add_brands` permissions","fix":"- Shopper 2.x: upgrade to `2.10.1`\n- Shopper 3.x prereleases: upgrade to `3.0.0-beta.3`","status":"open","published_at":"2026-10-30T21:17:16+00:00","first_seen_at":"2026-10-30T21:25:54+00:00","triaged_at":"2026-10-30T21:26:32+00:00","updated_at":"2026-10-30T21:26:32+00:00","category":"package","confidence":0.85,"triage":{"at":"2026-10-30T21:26:32Z","model":"claude-haiku-5-5","output":{"fix":"- Shopper 2.x: upgrade to `2.10.1`\n- Shopper 3.x prereleases: upgrade to `3.0.0-beta.3`","reach":"internet","title":"Shopper admin panel: stored upload runs script in administrators' sessions","impact":"high","summary":"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.","audience":"businesses","category":"package","nicknames":[],"who_cares":["shopper","laravel","e-commerce","self-hosted"],"confidence":0.85,"fix_status":"available","needs_auth":"yes","worst_case":"Attacker gains a persistent administrator account and access to customer data","analyst_note":"","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\n- Look for uploaded `.svg` or `.html` files under the public disk `/storage/` path\n- Review staff accounts with `edit_products` or `add_brands` permissions","plain_action":"","needs_analyst":false,"not_affected_if":["auth-required","no-upload-permission","fixed-version"],"who_is_affected":"Teams running the Shopper admin panel, in the affected 2.x range or the 3.0.0 beta prereleases. The exposure requires a back-office staff account with upload permission and an administrator opening the planted file, so deployments where staff upload rights are tightly limited carry less risk. Storefronts without the admin panel exposed to staff are not affected.","user_interaction":"yes","needs_special_setup":"no","severity_if_unknown":"high"},"cost_usd":0.00079,"input_tokens":4589,"output_tokens":662,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-2026':12A,15A '-62990':13A,16A '/storage':181C '2':127C,217C '2.0.0':92C '2.10.1':95C,327C '3':308C '3.0.0':99C,329C 'accept':155C,168C 'access':227C,264C 'account':75B,254C,286C,288C 'add':137C 'admin':2A,32B,43B,87C 'administr':9A,65B,74B,121C,200C,213C,233C,248C,302C 'allow':141C,317C 'alreadi':312C 'also':154C 'attach':191C 'attack':246C,284C 'attacker-control':245C 'authent':104C 'back':106C 'back-offic':105C 'beta.1':101C 'beta.2':103C 'beta.3':330C 'block':297C 'brand':55B,138C 'check':226C 'chosen':78B,251C 'client':237C 'client-suppli':236C 'collect':147C,160C 'commerc':19B,31B,86C 'content':112C,185C,189C,195C 'content-disposit':188C 'content-security-polici':194C 'content-upload':111C 'control':247C 'creat':71B,242C 'creation':289C 'custom':266C 'cve':11A,14A 'data':267C,278C 'delet':261C 'direct':287C 'disk':179C 'disposit':190C 'e':18B,30B,85C 'e-commerc':17B,29B,84C 'edit':134C 'everi':145C 'exclud':313C 'execut':117C,210C,318C 'exfiltr':277C 'exploit':299C 'field':150C 'file':39B,61B,159C,207C,259C,306C,320C 'fix':324C 'give':263C 'grant':280C 'headless':28B,83C 'held':229C 'host':24B 'html':38B,204C 'id':240C 'imag':149C,152C 'image/svg':142C 'implement':129C 'includ':133C,148C 'inlin':40B,175C 'invok':222C 'issu':322C 'laravel':20B 'line':311C 'low':293C 'low-privileg':292C 'manag':272C 'media':118C,146C,172C 'member':51B 'mime':165C 'new':73B,244C 'offic':107C 'open':66B,201C,304C 'order':268C 'origin':46B,124C 'packag':21B 'packages/admin/config/media.php':140C 'packages/admin/src/livewire/components/products/form/files.php':162C 'packages/admin/src/livewire/slideovers/createteammember.php':223C 'panel':3A,33B,88C 'password':79B,252C 'permiss':114C,132C,281C 'persist':255C 'plant':59B 'polici':197C 'prereleas':100C,310C 'prior':93C 'privileg':294C 'product':53B,135C,158C,319C 'public':178C 'relev':130C 'requir':300C 'restrict':48B,166C 'right':57B 'role':239C 'run':6A,68B 'script':7A,69B,209C,220C,275C 'secur':196C 'self':23B 'self-host':22B 'serv':34B,174C 'session':10A,215C 'set':228C,269C 'shopper':1A,25B,26B,80C 'staff':50B,108C 'still':316C 'store':4A,116C,208C,225C 'suppli':238C 'svg':36B,156C,206C,314C 'text/html':169C 'trust':235C 'type':186C 'upload':5A,35B,56B,113C,131C,203C,258C,295C 'user/role':271C 'valid':153C 'version':90C,326C 'view':232C 'well':171C 'whose':151C,224C 'without':47B,187C 'x':128C,218C,309C 'xml':143C","nicknames":[],"mitigations":[],"who_affected":"Teams running the Shopper admin panel, in the affected 2.x range or the 3.0.0 beta prereleases. The exposure requires a back-office staff account with upload permission and an administrator opening the planted file, so deployments where staff upload rights are tightly limited carry less risk. Storefronts without the admin panel exposed to staff are not affected.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"first_public_at":"2026-10-30T21:17:16+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","cvss_by":"security-advisories@github.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-62990","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62990","severity":null,"published_at":"2026-10-30T21:17:16+00:00","modified_at":"2026-10-30T21:17:16+00:00","first_seen_at":"2026-10-30T21:25:54+00:00","fetched_at":"2026-10-30T21:25:54+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}