CVE Explorer
CVE-2026-3460
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 v
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"REST API TO MiniProgram","vendor":"xjb","versions":[{"lessThanOrEqual":"5.1.2","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:a4c5cef44145386b155544d9eacf0959274869f15a2b576b0de63f76c7affb4b · sha256:50b670a85e579d33… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:a4c5cef44145386b155544d9eacf0959274869f15a2b576b0de63f76c7affb4b · sha256:50b670a85e579d33… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-20","description":"CWE-20 Improper Input Validation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a4c5cef44145386b155544d9eacf0959274869f15a2b576b0de63f76c7affb4b · sha256:50b670a85e579d33… · /containers/cna/problemTypes/0/descriptions/0
Source references
7 source assertions{"url":"https://plugins.trac.wordpress.org/browser/rest-api-to-miniprogram/tags/5.1.2/includes/api/ram-rest-weixin-controller.php#L216"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a4c5cef44145386b155544d9eacf0959274869f15a2b576b0de63f76c7affb4b · sha256:50b670a85e579d33… · /containers/cna/references/4
{"url":"https://plugins.trac.wordpress.org/browser/rest-api-to-miniprogram/tags/5.1.2/includes/api/ram-rest-weixin-controller.php#L309"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a4c5cef44145386b155544d9eacf0959274869f15a2b576b0de63f76c7affb4b · sha256:50b670a85e579d33… · /containers/cna/references/2
{"url":"https://plugins.trac.wordpress.org/browser/rest-api-to-miniprogram/tags/5.1.2/includes/api/ram-rest-weixin-controller.php#L924"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a4c5cef44145386b155544d9eacf0959274869f15a2b576b0de63f76c7affb4b · sha256:50b670a85e579d33… · /containers/cna/references/6
{"url":"https://plugins.trac.wordpress.org/browser/rest-api-to-miniprogram/trunk/includes/api/ram-rest-weixin-controller.php#L216"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a4c5cef44145386b155544d9eacf0959274869f15a2b576b0de63f76c7affb4b · sha256:50b670a85e579d33… · /containers/cna/references/3
{"url":"https://plugins.trac.wordpress.org/browser/rest-api-to-miniprogram/trunk/includes/api/ram-rest-weixin-controller.php#L309"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a4c5cef44145386b155544d9eacf0959274869f15a2b576b0de63f76c7affb4b · sha256:50b670a85e579d33… · /containers/cna/references/1
{"url":"https://plugins.trac.wordpress.org/browser/rest-api-to-miniprogram/trunk/includes/api/ram-rest-weixin-controller.php#L924"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a4c5cef44145386b155544d9eacf0959274869f15a2b576b0de63f76c7affb4b · sha256:50b670a85e579d33… · /containers/cna/references/5
{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/7129d8cf-6b7d-4b7b-bd6a-85176247ab29?source=cve"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a4c5cef44145386b155544d9eacf0959274869f15a2b576b0de63f76c7affb4b · sha256:50b670a85e579d33… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.