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
    • 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-5357

CVE-2026-5357: WordPress Download Manager XSS Vulnerability

CVE-2026-5357 is a stored cross-site scripting flaw in WordPress Download Manager plugin affecting versions up to 3.3.52. Attackers with contributor access can inject malicious scripts. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: April 9, 2026

CVE-2026-5357 Overview

The Download Manager plugin for WordPress contains a Stored Cross-Site Scripting (XSS) vulnerability in the sid parameter of the wpdm_members shortcode. This vulnerability affects versions up to and including 3.3.52 and stems from insufficient input sanitization and output escaping on user-supplied shortcode attributes.

The vulnerability allows authenticated attackers with contributor-level access or higher to inject arbitrary JavaScript code that executes whenever any user visits a page containing the malicious payload. Because the script is stored server-side and served to all visitors, this represents a persistent XSS attack vector that can affect multiple users over time.

Critical Impact

Authenticated attackers with contributor privileges can inject persistent malicious scripts that execute in the browsers of all users visiting affected pages, potentially leading to session hijacking, credential theft, and site defacement.

Affected Products

  • Download Manager plugin for WordPress versions up to and including 3.3.52
  • WordPress installations using the vulnerable wpdm_members shortcode functionality
  • Sites permitting contributor-level or higher user access

Discovery Timeline

  • 2026-04-09 - CVE CVE-2026-5357 published to NVD
  • 2026-04-09 - Last updated in NVD database

Technical Details for CVE-2026-5357

Vulnerability Analysis

This Stored Cross-Site Scripting vulnerability exists in the Download Manager plugin's member management functionality. The flaw occurs because the sid parameter passed to the wpdm_members shortcode is extracted without proper sanitization in the members() function and subsequently stored via update_post_meta(). When the data is later rendered in the members.php template, it is echoed directly into an HTML id attribute without applying the esc_attr() escaping function that WordPress provides for this purpose.

The attack requires authenticated access with at least contributor-level privileges, which limits the initial attack surface. However, once a malicious payload is injected, it persists in the database and executes for every user who views the affected page, including administrators. This persistence and broad execution scope makes Stored XSS significantly more dangerous than Reflected XSS variants.

Root Cause

The root cause is a failure to implement proper input validation and output encoding at two critical points in the data flow:

  1. Input Stage: The sid parameter is accepted from shortcode attributes in the User.phpmembers() function without sanitization before being passed to update_post_meta() for storage.

  2. Output Stage: When rendering the member display in members.php, the stored sid value is inserted directly into an HTML id attribute without using WordPress's esc_attr() function to escape special characters.

This dual failure violates the fundamental security principle of "sanitize input, escape output" and allows attackers to break out of the HTML attribute context to inject executable JavaScript.

Attack Vector

The attack is network-based and requires the attacker to be authenticated with contributor-level access or above. The attacker crafts a malicious sid value within a wpdm_members shortcode that includes JavaScript code designed to escape the HTML id attribute context. When a victim visits a page containing this shortcode, the malicious script executes in their browser session.

A typical attack scenario involves:

  1. An attacker with contributor access creates or edits a post/page
  2. The attacker inserts a wpdm_members shortcode with a crafted sid parameter containing XSS payload
  3. The payload is stored in the WordPress database via update_post_meta()
  4. When any user (including administrators) views the page, the unsanitized sid value renders in the HTML
  5. The malicious JavaScript executes in the victim's browser with their session context

For technical details on the vulnerable code paths, see the User.php source code and members.php template.

Detection Methods for CVE-2026-5357

Indicators of Compromise

  • Presence of wpdm_members shortcodes containing unusual characters such as <, >, ", ', on, script, or javascript in the sid parameter
  • Database entries in wp_postmeta with suspicious JavaScript payloads associated with Download Manager metadata
  • Web server access logs showing pages with Download Manager shortcodes returning unusual response sizes
  • Browser console errors or unexpected script execution on pages using the Download Manager member functionality

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect XSS patterns in POST requests targeting WordPress shortcode processing
  • Deploy Content Security Policy (CSP) headers to restrict inline script execution and alert on violations
  • Monitor WordPress wp_postmeta table for entries containing script tags or event handlers in Download Manager-related metadata
  • Use SentinelOne's behavioral detection capabilities to identify anomalous JavaScript execution patterns originating from WordPress pages

Monitoring Recommendations

  • Enable WordPress activity logging to track shortcode creation and modification events by contributor-level users
  • Configure real-time alerting for CSP violation reports that may indicate XSS exploitation attempts
  • Regularly audit pages using wpdm_members shortcodes for suspicious content in the sid parameter
  • Monitor for unusual session activity following visits to Download Manager-enabled pages

How to Mitigate CVE-2026-5357

Immediate Actions Required

  • Update the Download Manager plugin to version 3.3.53 or later immediately
  • Audit existing pages and posts for any wpdm_members shortcodes with suspicious sid parameter values
  • Review the wp_postmeta database table for any stored XSS payloads and remove malicious entries
  • Consider temporarily restricting contributor-level user permissions until the patch is applied

Patch Information

The vulnerability has been addressed by the plugin developers. Review the WordPress changeset for details on the fix implementation. The patch properly sanitizes the sid parameter input and applies esc_attr() escaping when outputting the value in HTML contexts.

Additional information is available in the Wordfence vulnerability report.

Workarounds

  • Temporarily disable the Download Manager plugin if immediate patching is not possible
  • Remove or restrict the use of the wpdm_members shortcode across all pages and posts
  • Implement a Web Application Firewall rule to block requests containing potential XSS payloads in shortcode parameters
  • Revoke contributor-level access temporarily or limit user capabilities to prevent new content creation
bash
# WordPress CLI command to search for potentially malicious shortcodes
wp db query "SELECT post_id, meta_value FROM wp_postmeta WHERE meta_key LIKE '%wpdm%' AND meta_value LIKE '%script%'" --allow-root

# Temporarily deactivate the plugin via WP-CLI
wp plugin deactivate download-manager --allow-root

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 User.php Code

  • WordPress Members.php Code

  • WordPress User.php Code

  • WordPress Members.php Code

  • WordPress Changeset History

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2023-54358: adivaha Travel Plugin XSS Vulnerability

  • CVE-2026-3005: WordPress List Category Posts XSS Flaw

  • CVE-2026-5742: WordPress UsersWP Plugin XSS Vulnerability

  • CVE-2026-4336: WordPress Ultimate FAQ Accordion XSS Flaw
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