Description
The WPC Shop as a Customer for WooCommerce plugin for WordPress is vulnerable to privilege escalation via account takeover in all versions up to, and including, 2.0.0 This is due to the plugin not properly validating the target user's role prior to issuing a new authentication session, allowing an authenticated attacker to log in as any WordPress Administrator by directly supplying an Administrator's user ID to the wpcsa_login endpoint and receiving a full Administrator session cookie without supplying the Administrator's password. This makes it possible for authenticated attackers to perform a direct session takeover, gaining full Administrator-level access to the site.
References6
- plugins.trac.wordpress.org/browser/wpc-shop-as-customer/tags/1.…
- plugins.trac.wordpress.org/browser/wpc-shop-as-customer/tags/1.…
- plugins.trac.wordpress.org/browser/wpc-shop-as-customer/tags/1.…
- plugins.trac.wordpress.org/changeset/3708414/wpc-shop-as-custom…
- plugins.trac.wordpress.org/changeset?reponame=&new=3708414%40wp…
- www.wordfence.com/threat-intel/vulnerabilities/id/539cdee3-78bc…
Metrics
- CVSS 3.1
-
8.8
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 0% percentile: 40 · as of 10 November 2026
- CWE
- CWE-269
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.