The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-0559

CVE-2026-0559: MasterStudy LMS WordPress XSS Vulnerability

CVE-2026-0559 is a stored cross-site scripting vulnerability in MasterStudy LMS WordPress Plugin allowing authenticated attackers to inject malicious scripts. This article covers technical details, affected versions, and mitigation.

Published: February 20, 2026

CVE-2026-0559 Overview

The MasterStudy LMS WordPress Plugin – for Online Courses and Education plugin for WordPress is vulnerable to Stored Cross-Site Scripting (XSS) via the plugin's stm_lms_courses_grid_display shortcode in all versions up to, and including, 3.7.11 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Critical Impact

Authenticated attackers with contributor-level access can inject persistent malicious scripts that execute in the context of other users' browsers, potentially leading to session hijacking, credential theft, or administrative account compromise on WordPress sites using this popular LMS plugin.

Affected Products

  • MasterStudy LMS WordPress Plugin versions up to and including 3.7.11
  • WordPress installations utilizing the MasterStudy LMS plugin for online courses
  • Educational websites using the stm_lms_courses_grid_display shortcode functionality

Discovery Timeline

  • 2026-02-14 - CVE-2026-0559 published to NVD
  • 2026-02-18 - Last updated in NVD database

Technical Details for CVE-2026-0559

Vulnerability Analysis

This Stored Cross-Site Scripting (XSS) vulnerability exists in the MasterStudy LMS WordPress plugin's shortcode handling mechanism. The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), which represents a common but dangerous class of web application security flaws.

The attack requires network access and low-privilege authentication (contributor-level), making it exploitable by any authenticated user who can create or edit posts containing shortcodes. The cross-site scope indicates that the injected scripts can impact users beyond the vulnerable component itself, potentially affecting the entire WordPress session context.

The root cause lies in the plugin's failure to properly sanitize and escape user-supplied attributes within the stm_lms_courses_grid_display shortcode before rendering them in the page output. This allows attackers to craft malicious attribute values containing JavaScript code that persists in the database and executes whenever the affected page is viewed.

Root Cause

The vulnerability stems from insufficient input sanitization and output escaping on user-supplied attributes within the stm_lms_courses_grid_display shortcode handler. When the plugin processes shortcode attributes, it fails to adequately validate or encode special characters that could be interpreted as executable script content. This architectural flaw allows raw user input to flow directly into the HTML output without proper sanitization, creating a persistent XSS condition.

Attack Vector

The attack is executed over the network and requires the attacker to have at least contributor-level authentication on the target WordPress installation. The attacker crafts a malicious shortcode with specially crafted attribute values containing JavaScript payload. When this shortcode is saved (e.g., in a post or page), the malicious script is stored in the database. Subsequently, when any user—including administrators—views the page containing the injected shortcode, the malicious script executes in their browser context.

The vulnerability allows attackers to embed persistent malicious scripts within WordPress content. Since no user interaction beyond viewing the page is required for the script to execute, the attack surface is broad. The injected scripts can perform actions such as stealing session cookies, redirecting users to phishing sites, defacing website content, or escalating privileges by exploiting administrative sessions.

For detailed technical information about this vulnerability, refer to the Wordfence Vulnerability Report and the WordPress Plugin Change Log.

Detection Methods for CVE-2026-0559

Indicators of Compromise

  • Suspicious shortcode attributes containing JavaScript event handlers (e.g., onload, onerror, onmouseover) in post content
  • Presence of encoded or obfuscated script content within stm_lms_courses_grid_display shortcode parameters
  • Unexpected outbound requests to external domains originating from page views
  • User reports of unusual behavior or redirects when viewing LMS course pages

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block XSS patterns in shortcode attributes
  • Monitor WordPress database for suspicious content patterns in posts and pages using the affected shortcode
  • Review audit logs for contributor-level users creating or modifying content with LMS shortcodes
  • Deploy Content Security Policy (CSP) headers to restrict inline script execution and report violations

Monitoring Recommendations

  • Enable detailed logging for all shortcode rendering operations within the MasterStudy LMS plugin
  • Configure SentinelOne Singularity to monitor for suspicious JavaScript execution patterns on WordPress hosts
  • Set up alerts for unusual post modification activity from contributor-level accounts
  • Monitor for CSP violation reports that may indicate attempted XSS exploitation

How to Mitigate CVE-2026-0559

Immediate Actions Required

  • Update the MasterStudy LMS WordPress plugin to a version newer than 3.7.11 immediately
  • Audit existing posts and pages for malicious content within stm_lms_courses_grid_display shortcodes
  • Review contributor-level user accounts and their recent content modifications for suspicious activity
  • Implement Content Security Policy headers to mitigate the impact of any successful XSS exploitation

Patch Information

The security fix for this vulnerability is available in the plugin update. The patch addresses the insufficient input sanitization by implementing proper escaping of user-supplied shortcode attributes before they are rendered in the page output. Technical details of the changes can be reviewed in the WordPress Plugin Change Log.

Organizations should prioritize updating to the patched version through the WordPress admin dashboard or via WP-CLI. The Wordfence Vulnerability Report provides additional context and remediation guidance.

Workarounds

  • Temporarily restrict contributor-level users from creating or editing posts containing LMS shortcodes
  • Implement server-side input validation to strip potentially malicious attributes from shortcode parameters
  • Deploy a WAF rule to filter XSS patterns in requests containing the stm_lms_courses_grid_display shortcode
  • Consider temporarily disabling the affected shortcode functionality until the patch can be applied
bash
# WordPress CLI command to update the MasterStudy LMS plugin
wp plugin update masterstudy-lms-learning-management-system

# Verify the installed version after update
wp plugin list --name=masterstudy-lms-learning-management-system --fields=name,version,status

# Search for potentially malicious shortcode content in the database
wp db query "SELECT ID, post_title FROM wp_posts WHERE post_content LIKE '%stm_lms_courses_grid_display%' AND (post_content LIKE '%<script%' OR post_content LIKE '%javascript:%' OR post_content LIKE '%onerror%' OR post_content LIKE '%onload%');"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechMasterstudy Lms

  • SeverityMEDIUM

  • CVSS Score6.4

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • WordPress Plugin Change Log

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2025-13766: MasterStudy LMS Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English