Improper input validation in Xjb Rest API To Miniprogram
CVE-2026-3460
- CVSS v3
- 5.3 Medium
- Public exploits
- None known
- EPSS
- 0.004 · 32.4th percentile
- Published
- 2026-03-21
The REST API TO MiniProgram plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 5.1.2. This is due to the permission callback (update_user_wechatshop_info_permissions_check) only validating that the supplied 'openid' parameter corresponds to an existing WordPress user, while the callback function (update_user_wechatshop_info) uses a separate, attacker-controlled 'userid' parameter to determine which user's metadata gets modified, with no verification that the 'openid' and 'userid' belong to the same user. This makes it possible for authenticated attackers, with Subscriber-level access and above, to modify arbitrary users' store-related metadata (storeinfo, storeappid, storename) via the 'userid' REST API parameter.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.004, 32.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Xjb Rest API To Miniprogram — versions 0
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/7129d8cf-6b7d-4b7b-bd6a-85176…
- plugins.trac.wordpress.org/browser/rest-api-to-miniprogram/trunk/includes/api/r…
- plugins.trac.wordpress.org/browser/rest-api-to-miniprogram/tags/5.1.2/includes/…
- plugins.trac.wordpress.org/browser/rest-api-to-miniprogram/trunk/includes/api/r…
- plugins.trac.wordpress.org/browser/rest-api-to-miniprogram/tags/5.1.2/includes/…
- plugins.trac.wordpress.org/browser/rest-api-to-miniprogram/trunk/includes/api/r…
- plugins.trac.wordpress.org/browser/rest-api-to-miniprogram/tags/5.1.2/includes/…