CVE-2020-7916: 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=lea
medium Affects learnpress (WordPress plugin). Feed 2026.11.23.2, updated 2026-11-23; published ; advisory modified .
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=lea
It is not on CISA's Known Exploited Vulnerabilities list today. FIRST's EPSS model puts the chance of exploitation in the next 30 days at 1%.
Which version fixes CVE-2020-7916?
No fixed release is recorded yet.
How do I check whether I am affected?
Run `phpwarden wordpress /path/to/wordpress`. phpwarden checks the exact version you have installed against this advisory.
Am I affected?
Find out in one command. phpwarden checks your WordPress install against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.
CVE-2024-8522criticalThe LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to SQL Injection same package: learnpress (WordPress plugin)
CVE-2023-6567criticalThe LearnPress plugin for WordPress is vulnerable to time-based SQL Injection via the ‘ordsame package: learnpress (WordPress plugin)
CVE-2020-6010highLearnPress Wordpress plugin version prior and including 3.2.6.7 is vulnerable to SQL Injecsame package: learnpress (WordPress plugin)
CVE-2024-4434criticalThe LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to time-based SQLsame package: learnpress (WordPress plugin)
CVE-2024-8529criticalThe LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to SQL Injection same package: learnpress (WordPress plugin)
CVE-2023-6634highThe LearnPress plugin for WordPress is vulnerable to Command Injection in all versions up same package: learnpress (WordPress plugin)