PT-2026-26855 · Xjb · Rest Api To Miniprogram

Ronnachai Chaipha

·

Published

2026-03-21

·

Updated

2026-03-21

·

CVE-2026-3460

CVSS v3.1

5.3

Medium

AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
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.

Fix

RCE

Weakness Enumeration

Related Identifiers

CVE-2026-3460

Affected Products

Rest Api To Miniprogram