CVE-2026-3460
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
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| wordfence | rest-api-to-miniprogram | 5.1.2 |
Helpful Resources
Exploitability
| 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 Powered Q&A
Can you explain this vulnerability to me?
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.
How can this vulnerability impact me? :
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.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
I don't know