Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-3460: CWE-20 Improper Input Validation in xjb REST API TO MiniProgram

0
Medium
VulnerabilityCVE-2026-3460cvecve-2026-3460cwe-20
Published: Sat Mar 21 2026 (03/21/2026, 03:26:50 UTC)
Source: CVE Database V5
Vendor/Project: xjb
Product: REST API TO MiniProgram

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/09/2026, 18:47:37 UTC

Technical Analysis

CVE-2026-3460 is an improper input validation vulnerability in the xjb REST API TO MiniProgram WordPress plugin. The issue arises because the permission callback validates the 'openid' parameter to ensure it belongs to an existing user, but the update function uses a separate 'userid' parameter to identify which user's metadata to modify. There is no verification that the 'openid' and 'userid' correspond to the same user, enabling authenticated attackers with Subscriber-level access or higher to modify store-related metadata (storeinfo, storeappid, storename) of arbitrary users via the REST API. This vulnerability affects all versions up to and including 5.1.2. The CVSS 3.1 base score is 5.3, indicating medium severity. No patch or remediation details are provided in the available data.

Potential Impact

Authenticated users with Subscriber-level access or higher can modify arbitrary users' store-related metadata, potentially leading to unauthorized changes in user data related to the MiniProgram store. There is no indication of confidentiality or availability impact, only integrity is affected. No known exploits are reported in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the REST API TO MiniProgram plugin to trusted users only and monitor for suspicious activity related to user metadata changes. Avoid granting Subscriber-level or higher access to untrusted users. Follow vendor updates for official patches or fixes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-03-02T21:32:15.597Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69be180ef4197a8e3b784356

Added to database: 3/21/2026, 4:01:18 AM

Last enriched: 4/9/2026, 6:47:37 PM

Last updated: 5/5/2026, 7:16:56 AM

Views: 37

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses