Where
-Infinity
0
Severity
4.3
XSS
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

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 updateuserprofile() function in controllers/flutter-user.php processing the 'metadata' 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 metadata array passing arbitrary keys and values to updateusermeta() (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 wpuserlevel (to escalate to administrator-level legacy checks), plugin-specific authorization flags (e.g., wpufuseractive, aiowpsaccountstatus), and billing/profile fields with unsanitized values (potentially enabling Stored XSS in admin contexts). Note that wpcapabilities cannot be directly exploited this way because it requires a serialized array value, but wpuserlevel (a simple integer) and numerous plugin-specific meta keys are exploitable.

First published (updated )

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203