# CVE-2024-8485: REST API TO MiniProgram <= 4.7.1 - Unauthenticated Arbitrary User Email Update and Privilege Escalation via Account Takeover

- Severity: Critical 9.8 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Published: 2024-09-25T02:05:21.738Z
- Modified: 2026-06-17T08:22:43.377Z
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Wordfence

## Description

The REST API TO MiniProgram plugin for WordPress is vulnerable to privilege escalation via account takeovr in all versions up to, and including, 4.7.1 via the updateUserInfo() due to missing validation on the 'openid' user controlled key that determines what user will be updated. This makes it possible for unauthenticated attackers to update arbitrary user's accounts, including their email to a @weixin.com email, which can the be leveraged to reset the password of the user's account, including administrators.

(As written by CVE List.)

## Affected

- xjb REST API TO MiniProgram: up to 4.7.1
- jianbo rest-api-to-miniprogram: up to 4.7.1
- jianbo rest_api_to_miniprogram: up to 4.7.1

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/b53066d3-2ff3-4460-896a-facd77455914?source=cve> (third-party-advisory)
- <https://plugins.trac.wordpress.org/browser/rest-api-to-miniprogram/tags/4.7.0/includes/api/ram-rest-weixin-controller.php#L264> (product)
- <https://plugins.trac.wordpress.org/browser/rest-api-to-miniprogram/tags/4.7.6/includes/api/ram-rest-weixin-controller.php#L264>

## Sources

- CVE List: [CVE-2024-8485](https://www.cve.org/CVERecord?id=CVE-2024-8485), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2024-8485](https://nvd.nist.gov/vuln/detail/CVE-2024-8485), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-8485 · Whole record: https://cve.day/CVE-2024-8485.json · Rebuilt by cve.day 2026-11-25T22:58:45.718Z
