Description
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.
References (1)
Core 1
Core References
Release Notes, Third Party Advisory x_refsource_confirm
https://wordpress.org/plugins/learnpress/#developers
Scores
CVSS v3
6.5
EPSS
0.0112
EPSS Percentile
61.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Details
CWE
CWE-269
Status
published
Products (1)
thimpress/learnpress
< 3.2.6.5
Published
Mar 16, 2020
Tracked Since
Feb 18, 2026