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
    • AI 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-4333

CVE-2026-4333: LearnPress WordPress LMS XSS Vulnerability

CVE-2026-4333 is a stored cross-site scripting flaw in LearnPress WordPress LMS Plugin that allows authenticated attackers to inject malicious scripts. This article covers technical details, affected versions, and mitigation.

Published: April 10, 2026

CVE-2026-4333 Overview

The LearnPress – WordPress LMS Plugin for WordPress contains a Stored Cross-Site Scripting (XSS) vulnerability in the skin attribute of the learn_press_courses shortcode. This security flaw affects all versions up to and including 4.3.3 and stems from insufficient input sanitization and output escaping. The vulnerability allows authenticated attackers with Contributor-level access or higher to inject malicious web scripts into pages that execute whenever users access the compromised content.

Critical Impact

Authenticated attackers can inject persistent malicious JavaScript that executes in the browsers of all users who view the affected pages, potentially leading to session hijacking, credential theft, or further attacks against site visitors.

Affected Products

  • LearnPress – WordPress LMS Plugin versions up to and including 4.3.3
  • WordPress installations using vulnerable LearnPress versions
  • All WordPress sites with Contributor-level or higher user accounts using affected plugin

Discovery Timeline

  • April 8, 2026 - CVE-2026-4333 published to NVD
  • April 8, 2026 - Last updated in NVD database

Technical Details for CVE-2026-4333

Vulnerability Analysis

This Stored Cross-Site Scripting vulnerability exists in the ListCoursesShortcode.php file within the LearnPress plugin. The flaw occurs because the skin attribute value from the learn_press_courses shortcode is used directly in an sprintf() call that generates HTML output, specifically within class attributes and data-layout attributes. The absence of proper esc_attr() escaping allows attackers to break out of the attribute context and inject arbitrary JavaScript code.

When a user with at least Contributor-level permissions creates or edits a post containing the malicious shortcode, the injected script becomes stored in the WordPress database. Subsequently, every visitor who views the page will have the malicious script executed in their browser context, making this a persistent XSS attack vector.

Root Cause

The root cause is improper output encoding in the shortcode rendering logic. The skin shortcode attribute is passed directly to sprintf() for HTML generation without sanitization through WordPress's built-in escaping functions like esc_attr(). This violates secure coding practices for WordPress plugin development, where all user-controllable data must be escaped before being rendered in HTML output contexts.

Attack Vector

The attack requires network access and low-privilege authentication (Contributor-level). An attacker crafts a malicious learn_press_courses shortcode with a specially crafted skin attribute value designed to escape the HTML attribute context and inject JavaScript. Once published or saved as a draft (depending on WordPress permissions), the payload persists in the database and executes for all users viewing the affected page.

The malicious shortcode would be embedded in a post or page using the WordPress editor. When the page renders, the unsanitized skin value breaks out of the intended HTML attribute and injects script tags or event handlers that execute arbitrary JavaScript in the victim's browser.

Detection Methods for CVE-2026-4333

Indicators of Compromise

  • Unusual or obfuscated content in the skin attribute of learn_press_courses shortcodes within posts or pages
  • JavaScript event handlers or script tags appearing in shortcode attributes in the database
  • Reports of unexpected browser behavior or redirects when viewing pages containing LearnPress course listings
  • Web application firewall (WAF) logs showing XSS patterns in POST requests to WordPress admin

Detection Strategies

  • Implement Content Security Policy (CSP) headers and monitor for CSP violation reports indicating inline script execution attempts
  • Deploy web application firewall rules to detect XSS patterns in shortcode attribute values
  • Audit WordPress database wp_posts table for suspicious patterns in shortcode attributes containing script tags or event handlers
  • Enable WordPress security plugins with real-time malware scanning capabilities

Monitoring Recommendations

  • Monitor authentication logs for unusual activity from Contributor-level accounts
  • Implement file integrity monitoring on LearnPress plugin files to detect unauthorized modifications
  • Review page content changes through WordPress revision history for suspicious shortcode modifications
  • Configure alerts for new or modified posts containing learn_press_courses shortcodes

How to Mitigate CVE-2026-4333

Immediate Actions Required

  • Update LearnPress plugin to the latest patched version immediately
  • Audit all existing posts and pages containing learn_press_courses shortcodes for malicious content
  • Review and restrict Contributor-level user accounts to trusted individuals only
  • Consider temporarily disabling the LearnPress plugin until patches can be applied

Patch Information

A security patch addressing this vulnerability is available. Site administrators should update the LearnPress plugin through the WordPress admin dashboard or via WP-CLI. The patch implements proper esc_attr() escaping for the skin attribute before HTML output generation. For technical details on the fix, refer to the WordPress LearnPress Changeset History and the Wordfence Vulnerability Report.

Workarounds

  • Restrict user registration and limit Contributor-level access to trusted users only until the plugin is updated
  • Implement a Web Application Firewall (WAF) with XSS protection rules to filter malicious shortcode attribute values
  • Use WordPress security plugins to scan for and block XSS payloads in post content
  • Temporarily disable the learn_press_courses shortcode functionality if course listings are not critical
bash
# WordPress CLI command to update LearnPress plugin
wp plugin update learnpress

# Verify current plugin version after update
wp plugin get learnpress --field=version

# Search for potentially malicious shortcode content in database
wp db query "SELECT ID, post_title FROM wp_posts WHERE post_content LIKE '%learn_press_courses%' AND (post_content LIKE '%<script%' OR post_content LIKE '%onerror%' OR post_content LIKE '%onclick%')"

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechWordpress

  • SeverityMEDIUM

  • CVSS Score6.4

  • EPSS Probability0.04%

  • 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 LearnPress Shortcode Code

  • WordPress LearnPress Shortcode Code

  • WordPress LearnPress Shortcode Code

  • WordPress LearnPress Shortcode Code

  • WordPress LearnPress Changeset History

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2026-7448: LatePoint WordPress Plugin XSS Vulnerability

  • CVE-2026-7332: LatePoint WordPress Plugin XSS Vulnerability

  • CVE-2026-7457: WordPress LatePoint Plugin XSS Vulnerability

  • CVE-2026-6672: SliceWP Affiliates Plugin XSS 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