CVE-2026-3460
Received Received - Intake
Insecure Direct Object Reference in WordPress MiniProgram Plugin Allows Metadata Modification

Publication date: 2026-03-21

Last updated on: 2026-03-21

Assigner: Wordfence

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-21
Last Modified
2026-03-21
Generated
2026-06-16
AI Q&A
2026-03-21
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
wordfence rest-api-to-miniprogram 5.1.2
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-20 The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

The REST API TO MiniProgram plugin for WordPress has a vulnerability called Insecure Direct Object Reference (IDOR) in all versions up to 5.1.2. This happens because the permission check only verifies that the 'openid' parameter corresponds to an existing WordPress user, but the actual update function uses a separate 'userid' parameter to decide which user's metadata to modify. There is no check to ensure that the 'openid' and 'userid' belong to the same user.

As a result, an authenticated attacker with Subscriber-level access or higher can modify arbitrary users' store-related metadata such as storeinfo, storeappid, and storename by manipulating the 'userid' parameter in the REST API.

Impact Analysis

This vulnerability allows an attacker with at least Subscriber-level access to modify store-related metadata of any user on the WordPress site. This could lead to unauthorized changes in user data, potentially causing data integrity issues, confusion, or misuse of store information.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

I don't know

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-3460. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart