CVE-2020-7916
mediumpriority · track · 26EPSS 0.011 · 66 %ileEUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (5)
External citations — patches, advisories, analysis.
- https://nvd.nist.gov/vuln/detail/CVE-2020-7916cnnvd
- https://wordpress.org/plugins/learnpress/#developerscnnvd
- https://wpvulndb.com/vulnerabilities/10134Patchcnnvd
- https://wordpress.org/plugins/learnpress/#developersenisa_euvd
- https://wordpress.org/plugins/learnpress/#developersRelease NotesThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan