# Tutor LMS <= 4.2.0 - Authenticated (Subscriber+) Insecure Direct Object Reference to Comment Modification and Deletion via Q&A and Review Handlers

- **ID:** WPSEC-2026-2832
- **Plugin:** Tutor LMS – eLearning and online course solution (`tutor`), https://wordpress.org/plugins/tutor/
- **Affected versions:** all versions before 4.2.1
- **Fixed in:** 4.2.1 (Update to 4.2.1 or later.)
- **Severity:** Medium 4.3 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-639
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-10)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/tutor
- **Fix released:** 2026-11-09
- **Published:** 2026-11-10
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2832/

## Description

The Tutor LMS plugin for WordPress is vulnerable to Insecure Direct Object Reference via the 'question_id' and 'review_id' parameters of the Q&A update, Q&A delete and review delete AJAX actions in all versions up to, and including, 4.2.0. This is due to the ownership check matching any comment written by the user without checking that it is a Q&A entry or a course review, and the Q&A delete routine also removing every child comment of the targeted comment. This makes it possible for authenticated attackers with subscriber-level access to edit their own approved comments anywhere on the site without moderation, and to delete their own comments together with replies written by other users.

## References

- https://wpsec.com/vuln/WPSEC-2026-2832/
- https://plugins.svn.wordpress.org/tutor/tags/4.2.1/
- https://wordpress.org/plugins/tutor/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-2832/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
