# Tutor LMS <= 4.2.1 - Authenticated (Tutor Instructor+) Insecure Direct Object Reference to Arbitrary Quiz Answer Modification

- **ID:** WPSEC-2026-3904
- **Plugin:** Tutor LMS – eLearning and online course solution (`tutor`), https://wordpress.org/plugins/tutor/
- **Affected versions:** from 3.0.0 before 4.2.2
- **Fixed in:** 4.2.2 (Update to 4.2.2 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-25)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/tutor
- **Fix released:** 2026-11-24
- **Published:** 2026-11-25
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3904/

## Description

The Tutor LMS plugin for WordPress is vulnerable to Insecure Direct Object Reference via the 'payload' parameter of the tutor_quiz_builder_save AJAX action in versions 3.0.0 up to, and including, 4.2.1. This is due to quiz answer updates being keyed only on the user-supplied answer ID, while the payload validation skips answers of questions flagged as content-bank questions and skips the check entirely when the target quiz has no existing answers. This makes it possible for authenticated attackers with Tutor Instructor-level access to modify, reorder and reassign quiz answers that belong to other instructors' quizzes.

## References

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

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

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.
