Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconRegister or compromise course-author account
-
DeliveryEmbed JavaScript payload in course settings field
-
ExploitVictim administrator views course page
-
InstallPayload executes in admin browser session
-
C2Exfiltrate session cookie to attacker server
-
ExecuteAuthenticate as administrator
-
ImpactFull WordPress site takeover
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to hold a valid course-author role account on the target WordPress site; anonymous users, subscribers, and other low-privilege roles cannot exploit this vulnerability without first obtaining course-author privileges. The victim must actively navigate to or preview the course page containing the injected payload - there is no passive or zero-click exploitation path. No non-default plugin configuration is required beyond a standard Masteriyo LMS installation in versions 1.18.0 through 3.3.x. Sites that allow open or unvetted course-author self-registration significantly expand the attack surface by enabling any internet user to obtain the necessary privilege level without prior trust. |
| Impact | The provided CVSS 3.1 base score of 6.8 (AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H) modestly understates real-world risk: the S:U designation conflicts with the clearly cross-user impact described, since the XSS payload executes in an administrator's browser and can perform actions entirely outside the course-author's own privilege scope - a condition that technically warrants S:C under CVSS 3.1 guidance. An independent reassessment yields approximately 7.0 at CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N. The practical prerequisite of holding a registered course-author account limits the exposed attack surface to insider, supply-chain, and open-registration scenarios rather than anonymous internet exploitation, which explains the low EPSS of 0.15%; even a mid-sized municipal IT team in legnica running a community education portal on WordPress would face meaningful risk primarily if course-author self-registration is open or if a course-author account is compromised. The public WPScan proof-of-concept significantly lowers attacker skill requirements, and because exploitation success translates directly to admin session hijack, the downstream blast radius is effectively full site compromise. KEV absence suggests no broad criminal or automated exploitation is currently observed. |
| Exploit ScenarioDerived | An attacker registers or compromises a course-author account on a WordPress site running Masteriyo LMS before 3.4.0, then embeds a JavaScript payload - such as a cookie-exfiltration script pointing to an attacker-controlled endpoint - within a course settings field. When a site administrator visits or previews that course page, the payload executes silently in their browser, stealing their session token and enabling the attacker to authenticate as the administrator and gain full control of the WordPress installation. A public proof-of-concept is available through the WPScan vulnerability database, materially lowering the skill threshold for exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 06, 2026
Stored Cross-Site Scripting in the Masteriyo LMS WordPress plugin before version 3.4.0 allows any user holding the course-author role to inject unsanitized JavaScript into course settings fields, where it silently executes in the browser of every subsequent visitor - including logged-in administrators. Because the injected payload runs within the victim's full session context, a successful attack against a site administrator can result in complete WordPress site takeover through credential theft, rogue plugin installation, or arbitrary content modification. A publicly available proof-of-concept has been published by WPScan; no active exploitation is confirmed by CISA KEV, and the EPSS score of 0.15% (5th percentile) reflects limited observed exploitation probability at time of analysis.
RemediationAI
Update the Masteriyo LMS plugin to version 3.4.0 or later, which introduces proper sanitization and output escaping of course settings - this is the definitive remediation per the WPScan disclosure. If an immediate update is not feasible, restrict the course-author role to only fully trusted, vetted internal personnel and disable public or open self-registration for that role; this eliminates the ability of untrusted external actors to inject payloads, though insider risk remains. A Web Application Firewall rule targeting stored XSS patterns in course-settings endpoints can serve as a compensating control, but WAF-based XSS mitigation is inherently bypassable and must not substitute for patching. Advisory: https://wpscan.com/vulnerability/0ee2052c-90a8-4b98-947a-adc55feb1de7/.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-79 (Improper Neutralization of Input During Web Page Generation - XSS) is the root cause: course settings submitted by course-author users are neither sanitized on input nor properly escaped on output, allowing HTML and JavaScript to be persisted to the database and reflected back to every visitor of the affected course page. The vulnerability is stored (persistent) rather than reflected, meaning a single injection serves a malicious payload to all subsequent visitors without requiring per-victim attacker interaction beyond their normal page visit. The affected product is the Masteriyo LMS plugin, a feature-rich Learning Management System built for WordPress. The CPE string cpe:2.3:a:unknown:masteriyo_lms:*:*:*:*:*:*:*:* covers all affected platform variants, though the vendor field is a placeholder ('unknown') rather than the actual vendor identifier. Affected versions span 1.18.0 through 3.3.x, with the fix introduced in 3.4.0.
Know when Masteriyo Lms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
S:C because the XSS payload executes outside the attacker's course-author privilege scope in an admin session; A:N because availability impact on the subsequent system is not a direct consequence of session theft.
Primary rating from Vendor (WPScan).
CVSS VectorVendor: WPScan
Lifecycle Timeline
4DescriptionCVE.org
The Masteriyo LMS WordPress plugin before 3.4.0 does not sanitise and escape some course settings before outputting them in a page available to all visitors, allowing users with a course-author role to perform Stored Cross-Site Scripting attacks that run in the session of anyone viewing the course, including a logged-in administrator.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Masteriyo Lms
View allUnauthenticated arbitrary user session termination (force-logout) in the Masteriyo LMS WordPress plugin before version 2
Unauthenticated access to Masteriyo LMS WordPress plugin's course-progress REST API controller exposes all users' learni
Stored Cross-Site Scripting in the Masteriyo LMS WordPress plugin (all versions before 2.3.3) allows instructor-role use
Unauthenticated arbitrary file upload in the Masteriyo LMS WordPress plugin (versions <= 2.3.2) lets remote attackers up
Enrollment record exposure in the Masteriyo LMS WordPress plugin (versions 1.3.1 through below 3.4.0) lets unauthenticat
PHP Object Injection in the Masteriyo LMS WordPress plugin (versions <= 3.4.0) allows remote attackers to inject a craft
Privilege escalation in the ThemeGrill Masteriyo LMS WordPress plugin (versions up to and including 2.2.0) allows authen
Any authenticated user of a WordPress site running the Masteriyo LMS plugin before 3.4.2 can retrieve the correct answer
Masteriyo LMS, a WordPress learning-management plugin, discloses the course-progress and learning-activity records of ev
Broken access control in the Masteriyo - LMS WordPress plugin (versions up to and including 2.1.5) allows remote unauthe
Stored Cross-Site Scripting in Masteriyo LMS WordPress plugin versions up to and including 2.3.0 allows authenticated su
Unauthenticated broken authentication in the Masteriyo LMS WordPress plugin (versions ≤2.1.8) stems from improper JWT si
EUVD-2026-71857
GHSA-q7cm-xchw-5v25
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB