Description
The MStore API plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 4.18.3. This is due to the update_user_profile() function in controllers/flutter-user.php processing the 'meta_data' JSON parameter without any allowlist, blocklist, or validation of meta keys. The function reads raw JSON from php://input (line 1012), decodes it (line 1013), authenticates the user via cookie validation (line 1015), and then directly iterates over the user-supplied meta_data array passing arbitrary keys and values to update_user_meta() (line 1080) with no sanitization or restrictions. This makes it possible for authenticated attackers, with Subscriber-level access and above, to modify arbitrary user meta fields on their own accounts, including sensitive fields like wp_user_level (to escalate to administrator-level legacy checks), plugin-specific authorization flags (e.g., _wpuf_user_active, aiowps_account_status), and billing/profile fields with unsanitized values (potentially enabling Stored XSS in admin contexts). Note that wp_capabilities cannot be directly exploited this way because it requires a serialized array value, but wp_user_level (a simple integer) and numerous plugin-specific meta keys are exploitable.
References8
- plugins.trac.wordpress.org/browser/mstore-api/tags/4.18.3/contr…
- plugins.trac.wordpress.org/browser/mstore-api/tags/4.18.3/contr…
- plugins.trac.wordpress.org/browser/mstore-api/tags/4.18.3/contr…
- plugins.trac.wordpress.org/browser/mstore-api/trunk/controllers…
- plugins.trac.wordpress.org/browser/mstore-api/trunk/controllers…
- plugins.trac.wordpress.org/browser/mstore-api/trunk/controllers…
- plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&repo…
- www.wordfence.com/threat-intel/vulnerabilities/id/a77bc126-4dbd…
Metrics
- CVSS 3.1
-
4.3
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N - EPSS — exploit probability
- 0% percentile: 14 · as of 12 November 2026
- CWE
- CWE-639
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.