# CVE-2020-7916: beteacher 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…

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.12%, higher than 66% of CVEs (2026-12-01)
- Published: 2020-03-16T17:04:42.000Z
- Modified: 2026-06-17T03:25:37.560Z
- Weaknesses: CWE-269
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- thimpress learnpress: up to 3.2.6.5

## Every score

- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://wordpress.org/plugins/learnpress/#developers> (release-notes, third-party-advisory)

## Sources

- CVE List: [CVE-2020-7916](https://www.cve.org/CVERecord?id=CVE-2020-7916), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-7916](https://nvd.nist.gov/vuln/detail/CVE-2020-7916), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-7916 · Whole record: https://cve.day/CVE-2020-7916.json · Rebuilt by cve.day 2026-11-25T22:57:51.553Z
