CVE-2026-128109: Tutor LMS <= 4.2.1 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Lesson Comment
The Tutor LMS – eLearning and online course solution plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 4.2.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires the plugin's "Enable Comment for Lesson" option to be active, which is disabled by default.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Keep the “Enable Comment for Lesson” option disabled.
Tutor LMS – eLearning and online course solution Enable Comment for Lesson = disabled
Event History
Frequently Asked Questions
Is a default Tutor LMS installation affected?
The vulnerable lesson-comment feature requires the "Enable Comment for Lesson" option to be enabled. This option is disabled by default, so installations that have not enabled it are not exposed through this issue.
What access does an attacker need to exploit this?
An attacker must be authenticated to the WordPress site with at least Subscriber-level access. They can then submit malicious script through a lesson comment when lesson comments are enabled.
Who could be affected by a malicious comment?
The injected script executes when a user accesses the page containing the malicious lesson comment. This can affect any user who views that injected page.
What can be done if updating is not immediately possible?
Disable the Tutor LMS "Enable Comment for Lesson" option to remove the required exploitation condition. Review existing lesson comments for malicious script content.