VULNERABILITY INTELLIGENCE

CVE-2020-7916

CVSS score6.5 MEDIUM
EPSS probability1.12%
CISA KEVNot currently listed
Published2020-03-16
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

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.

Weakness classification

  • CWE-269: Improper Privilege Management

Primary references