CVE-2026-128109 in Tutor LMS Plugininfo

Summary

by MITRE • 11/26/2026

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.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 11/26/2026

The Tutor LMS WordPress plugin serves as a comprehensive eLearning and online course solution, allowing educators to create, manage, and sell courses directly within the WordPress ecosystem. A significant security vulnerability has been identified in all versions of this plugin up through 4.2.1, specifically involving stored cross-site scripting (XSS) attacks targeting the comment functionality associated with lessons. This flaw stems from insufficient input sanitization and a lack of proper output escaping when handling user-supplied data within the 'comment' parameter. The vulnerability allows authenticated attackers who possess subscriber-level access or higher to inject arbitrary web scripts into pages that are subsequently viewed by other users, leading to potential compromise of those users' sessions or personal information whenever they interact with the affected content.

From a technical perspective, the core issue lies in how the plugin processes and renders user input for lesson comments. When an authenticated user submits a comment containing malicious JavaScript code, the application fails to adequately sanitize this input on the server side before storage. Furthermore, when the page is rendered later, the stored payload is not escaped properly during output generation. This combination of failures means that the browser interprets the injected script as legitimate content rather than data, executing it within the context of the victim's session. Because the attack vector relies on storing malicious code in a persistent location such as a database record associated with a lesson comment, this constitutes a stored XSS vulnerability rather than a reflected one, which often carries higher severity due to its persistence and potential for wider impact without requiring immediate user interaction beyond viewing the page.

The operational impact of this vulnerability is substantial given the nature of eLearning platforms where trust among users is paramount. An attacker with even basic subscriber-level privileges can exploit this flaw to steal session cookies, hijack administrative accounts if they manage to escalate privileges or target administrators who view the comments, deface course pages by injecting malicious content, or redirect victims to phishing sites designed to harvest credentials. The attack chain typically involves the victim logging into their account and navigating to a lesson page where the compromised comment is displayed. Upon loading this page, the browser executes the injected script in the context of the current domain, granting the attacker access to sensitive data protected by same-origin policy restrictions. This can lead to unauthorized actions being performed on behalf of the victim, such as enrolling in courses, changing account settings, or accessing private course materials intended for other users only.

Mitigation strategies must address both immediate remediation and long-term security posture improvements. The most effective solution is to upgrade the Tutor LMS plugin to version 4.2.2 or later, where these input validation and output escaping issues have been resolved by the developers. For organizations unable to update immediately due to compatibility concerns with other plugins or custom code modifications, a temporary workaround involves disabling the "Enable Comment for Lesson" feature within the WordPress admin dashboard if this functionality is not strictly required for their pedagogical approach. Additionally, implementing a Web Application Firewall can provide an additional layer of defense by filtering out known malicious payloads before they reach the application logic. It is also advisable to enforce strict Content Security Policy headers that restrict script execution sources and monitor logs for unusual activity patterns indicative of XSS attempts.

This vulnerability aligns with Common Weakness Enumeration identifiers such as CWE-79, which describes Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting. Specifically, it reflects failures in both input validation (CWE-20) and output encoding (CWE-116). In terms of the MITRE ATT&CK framework for enterprise security, this exploit maps to techniques under the Initial Access and Execution tactics, particularly those involving web application exploits like T1189 Drive-by Compromise or T1059 Command and Scripting Interpreter if the script performs further actions. Security teams should prioritize patching this vulnerability due to its low barrier to entry for authenticated users and high potential impact on user data integrity and confidentiality within educational platforms that handle sensitive personal information.

Responsible

Wordfence

Reservation

11/12/2026

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

EPSS

0.00450

KEV

no

Activities

very low

Sources

Do you need the next level of professionalism?

Upgrade your account now!