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

CVE-2026-5357: WordPress Download Manager XSS Vulnerability

CVE-2026-5357 is a stored cross-site scripting flaw in WordPress Download Manager plugin that allows authenticated attackers to inject malicious scripts. This article covers technical details, affected versions, and mitigation.

Updated: May 14, 2026

CVE-2026-5357 Overview

CVE-2026-5357 is a Stored Cross-Site Scripting (XSS) vulnerability affecting the Download Manager plugin for WordPress in all versions up to and including 3.3.52. The flaw resides in the wpdm_members shortcode, where the sid attribute is processed without sanitization or output escaping. Authenticated users holding contributor-level access or higher can inject arbitrary JavaScript that executes in any visitor's browser when the affected page is loaded. The issue is tracked under [CWE-79] (Improper Neutralization of Input During Web Page Generation).

Critical Impact

Contributor-level attackers can persist malicious scripts on WordPress pages, enabling session theft, redirection, and administrative account takeover when privileged users visit the affected content.

Affected Products

  • WordPress Download Manager plugin versions up to and including 3.3.52
  • WordPress sites permitting contributor-level or higher user registration
  • Any WordPress installation rendering the wpdm_members shortcode

Discovery Timeline

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

Technical Details for CVE-2026-5357

Vulnerability Analysis

The vulnerability stems from unsafe handling of a user-controlled shortcode attribute inside the Download Manager plugin. When a page or post containing the wpdm_members shortcode is rendered, the plugin's members() function extracts the sid attribute directly from the shortcode parameters. The value is never passed through sanitize_text_field(), wp_kses(), or any equivalent filter before being persisted using update_post_meta(). The stored value is then echoed into the members.php template inside an HTML id attribute without esc_attr() applied. This sequence creates a stored XSS sink that is rendered for every visitor of the affected page.

Root Cause

The root cause is missing input sanitization at ingest and missing output escaping at render. Contributor-level WordPress accounts can insert shortcodes into draft content. Because the sid attribute travels from shortcode input to database to HTML attribute context with no encoding, an attacker can break out of the id attribute using a double quote and inject an event handler or <script> element. The vulnerability is classified as [CWE-79]: Improper Neutralization of Input During Web Page Generation.

Attack Vector

The attack vector is network-based and requires authenticated access at the contributor role or above. An attacker authors a post containing a wpdm_members shortcode where the sid parameter carries an attribute-breaking payload. Once the draft is submitted and an editor or administrator previews or publishes the content, the payload is stored via update_post_meta() and rendered into the page's HTML. Any subsequent visitor, including administrators, executes the injected script in the context of the site's origin. No verified public proof-of-concept code is available for this issue; see the Wordfence Vulnerability Report and the WordPress members.php Source Code for the affected sink.

Detection Methods for CVE-2026-5357

Indicators of Compromise

  • Post or page meta entries created by contributor accounts containing wpdm_members shortcodes with unusual sid values containing quotes, angle brackets, or on* event handler strings.
  • Outbound requests from visitor browsers to unfamiliar domains shortly after loading pages that include the wpdm_members shortcode.
  • New or modified administrator accounts following contributor activity on pages embedding the vulnerable shortcode.

Detection Strategies

  • Search the wp_postmeta table for stored sid values that include characters such as ", <, >, or substrings like javascript:, onerror=, or onload=.
  • Audit posts authored by contributor and author roles that contain the [wpdm_members ...] shortcode and review the attribute values rendered in production pages.
  • Inspect rendered HTML of affected pages for id attributes containing characters or markup that should not be present in an HTML identifier.

Monitoring Recommendations

  • Enable WordPress audit logging for shortcode-bearing posts and for post meta changes performed by non-administrator roles.
  • Deploy a Web Application Firewall (WAF) rule that inspects shortcode parameters for HTML and JavaScript injection patterns on POST requests to /wp-admin/post.php and /wp-admin/admin-ajax.php.
  • Alert on Content Security Policy (CSP) violations from authenticated administrative sessions, which can indicate that a stored payload executed against a privileged user.

How to Mitigate CVE-2026-5357

Immediate Actions Required

  • Update the WordPress Download Manager plugin to a version newer than 3.3.52 that incorporates the upstream fix referenced in the WordPress Changeset Overview.
  • Review all existing posts and pages containing the wpdm_members shortcode and remove any sid attribute values that contain HTML or JavaScript syntax.
  • Audit contributor and author accounts and revoke access for any unrecognized or untrusted users.

Patch Information

The vendor addressed the issue in the version following 3.3.52. The fix adds proper sanitization of the sid shortcode attribute before storage and applies esc_attr() when rendering the value into the id HTML attribute in members.php. Refer to the WordPress members.php Source Code and WordPress User.php Source Code for the corrected implementation.

Workarounds

  • Restrict contributor and author roles from publishing content containing the wpdm_members shortcode by removing shortcode privileges via a custom capability filter.
  • Disable the Download Manager plugin until the patched release can be deployed across the environment.
  • Apply a Content Security Policy (CSP) that disallows inline script execution to limit the impact of stored XSS payloads on rendered pages.
bash
# Configuration example: identify vulnerable shortcode usage via WP-CLI
wp post list --post_status=any --format=ids \
  | xargs -I {} wp post get {} --field=post_content \
  | grep -nE '\[wpdm_members[^]]*sid="[^"]*[<>"][^"]*"'

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.05%

  • 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 Source Code

  • WordPress members.php Source Code

  • WordPress User.php Source Code

  • WordPress members.php Source Code

  • WordPress Changeset Overview

  • Wordfence Vulnerability Report
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