The LearnPress plugin before 3.2.6.9 for WordPress allows remote attackers to escalate the privileges of any user to LP Instructor via the accept-to-be-teacher action parameter.
https://www.wordfence.com/blog/2020/04/high-severity-vulnerabilities-patched-in-learnpress/
https://wordpress.org/plugins/learnpress/#developers
https://cwe.mitre.org/data/definitions/862.html
http://packetstormsecurity.com/files/163538/WordPress-LearnPress-Privilege-Escalation.html