CVE-2026-4365
Description
The LearnPress plugin for WordPress is vulnerable to unauthorized data deletion due to a missing capability check on the `delete_question_answer()` function in all versions up to, and including, 4.3.2.8. The plugin exposes a `wp_rest` nonce in public frontend HTML (`lpData`) to unauthenticated visitors, and uses that nonce as the only security gate for the `lp-load-ajax` AJAX dispatcher. The `delete_question_answer` action has no capability or ownership check. This makes it possible for unauthenticated attackers to delete any quiz answer option by sending a crafted POST request with a publicly available nonce.
Affected WordPress components
-
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses Plugin · learnpressUp to and including 4.3.2.8View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- thimpress LearnPress – WordPress LMS Plugin for Create and Sell Online Courses — Up to and including 4.3.2.8
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/learnpress/trunk/inc/Ajax/AbstractAjax.php#L33
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/learnpress/trunk/inc/Ajax/EditQuestionAjax.php#L285
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/learnpress/trunk/inc/class-lp-assets.php#L177
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/021bd566-1663-46ba-a616-ab554b691cbb?source=cve
- nvd.nist.gov Official NVD record