be_teacher in class-lp-admin-ajax.php in the LearnPress plugin 3.2.6.5 and earlier for WordPress allows any registered user to assign itself the teacher role via the wp-admin/admin-ajax.php?action=learnpress_be_teacher URI without any additional permission checks. Therefore, any user can change its role to an instructor/teacher and gain access to otherwise restricted data.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Learnpress Plugin | — | Update learnpress plugin to version 3.2.6.8, or a newer patched version | May 15, 2025 | Mar 16, 2020 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub