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.
Problem types
Product status
Any version
Timeline
| 2026-03-17: | Vendor Notified |
| 2026-04-13: | Disclosed |
Credits
Supakiad S.
References
www.wordfence.com/...-1663-46ba-a616-ab554b691cbb?source=cve
plugins.trac.wordpress.org/.../inc/Ajax/EditQuestionAjax.php
plugins.trac.wordpress.org/...runk/inc/Ajax/AbstractAjax.php
plugins.trac.wordpress.org/.../trunk/inc/class-lp-assets.php