Security Alert Summary
The LearnPress – WordPress LMS Plugin contains a privilege-check bypass that can allow authenticated users with Subscriber-level access and above to delete quiz question answer options. The issue is caused by missing capability checks in the plugin’s AJAX handling and model deletion logic.
CVE Details
- CVE ID: CVE-2026-3225
- Affected component: LearnPress – WordPress LMS Plugin (plugin)
- Affected versions: All versions up to and including 4.3.2.8
- Published: March 23, 2026 at 11:17:13 PM UTC
- Last modified: March 24, 2026 at 3:53:48 PM UTC
- CVSS v3.1: Base Score 4.3, MEDIUM — Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- Authentication / privileges / user interaction:
- Authentication: Authenticated users required
- Privileges required: LOW (Subscriber-level access and above)
- User interaction: NONE
- Primary impact:
- Confidentiality: NONE
- Integrity: LOW (unauthorized deletion of quiz answer options)
- Availability: NONE
- CWE / Weakness ID: CWE-862
Technical Details
The vulnerability exists because a missing capability check allows authenticated users with low privileges to trigger code paths that delete quiz answer options. Specifically, the delete_question_answer() function in the EditQuestionAjax class lacks a current_user_can() capability check. The dispatcher AbstractAjax::catch_lp_ajax() verifies a wp_rest nonce but does not perform any current_user_can() authorization check. Additionally, the QuestionAnswerModel::delete() method enforces minimum answer counts but does not validate user capabilities before deleting an answer record. Together, these missing checks permit authenticated attackers (Subscriber-level and above) to delete answer options from quiz questions.
The impact is limited to integrity of quiz content: answer options can be removed, which may alter quiz behavior and results. There is no CVSS-indicated confidentiality or availability impact in the provided data.
How This Could Impact Your Website
Consider a typical site with a site owner, internal staff managing courses, and external contributors or contractors who have Subscriber or Contributor accounts. An attacker who gains or already has a Subscriber-level account could remove answer options from quiz questions used for training, certification, or assessments. Practical consequences include altered quiz outcomes, confusion among learners, and impaired reporting accuracy for course completion.
For example, an external contractor with a low-privilege account could delete key answer choices from multiple quizzes used by internal staff. That could cause learners to fail assessments or receive incorrect scores, undermining trust in course results and requiring administrative effort to restore correct content and reassess affected users.
If youre unsure whether your site is affected or how to assess your current user roles and plugins, it may be worth having a professional review your setup.
Recommended Actions
- Update the affected plugin as soon as a patched version is available.
- Review and reduce unnecessary user roles, especially contributors and subscribers who do not need quiz management capabilities.
- Enforce strong passwords and two-factor authentication for editors and administrators.
- Remove unused or unmaintained plugins.
- Monitor site activity and audit logs for unusual behavior related to quiz editing or deletions.
If youd like help reviewing your plugins, user roles, or overall WordPress security posture, our team at Freshy is happy to help.
References
- https://plugins.trac.wordpress.org/browser/learnpress/tags/4.3.2.7/inc/Ajax/AbstractAjax.php#L17
- https://plugins.trac.wordpress.org/browser/learnpress/tags/4.3.2.7/inc/Ajax/EditQuestionAjax.php#L284
- https://plugins.trac.wordpress.org/browser/learnpress/tags/4.3.2.7/inc/Models/Question/QuestionAnswerModel.php#L243
- https://plugins.trac.wordpress.org/changeset?old_path=/learnpress/tags/4.3.2.8&new_path=/learnpress/tags/4.3.3
- https://www.wordfence.com/threat-intel/vulnerabilities/id/fc4afb78-fca6-4cc2-8e64-4785d93055e6?source=cve