Skip to main content
Vulnerability Database/CVE-2026-100182

CVE-2026-100182: Download Monitor WordPress Plugin XSS Flaw

CVE-2026-100182 is a stored XSS vulnerability in Download Monitor WordPress plugin allowing unauthenticated attackers to inject malicious scripts. This article covers technical details, affected versions, and mitigation strategies.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-100182 Overview

The Download Monitor plugin for WordPress contains a Stored Cross-Site Scripting (XSS) vulnerability affecting all versions up to and including 5.2.10. The flaw stems from insufficient input sanitization and output escaping in a cross-origin postMessage handler used by the admin download editor. An unauthenticated attacker can trick an authenticated Administrator into visiting a malicious page while a Download edit screen is open. The payload is then persisted using the Administrator's unfiltered_html capability and later rendered verbatim through the [download_data] shortcode on the public frontend. The issue is tracked as [CWE-79] Improper Neutralization of Input During Web Page Generation.

Critical Impact

Unauthenticated attackers can inject arbitrary JavaScript that executes in the browser of any visitor viewing an affected page, enabling session theft, admin account takeover, and site compromise.

Affected Products

  • WordPress Download Monitor plugin, all versions through 5.2.10
  • WordPress sites with Administrators holding the unfiltered_html capability
  • Public-facing pages rendering the [download_data] shortcode

Discovery Timeline

  • 2026-10-02 - CVE-2026-100182 published to NVD
  • 2026-10-02 - Last updated in NVD database

Technical Details for CVE-2026-100182

Vulnerability Analysis

The vulnerability chains three weaknesses in the Download Monitor admin workflow. First, the plugin's download-operations.js script registers a message event listener that accepts cross-origin postMessage payloads without validating the sender origin. Second, AdminScripts.php loads this handler on the Download edit screen, where the receiving Administrator session possesses the unfiltered_html capability. Third, the [download_data] shortcode defined in Shortcodes.php emits the stored post_content field directly to the frontend without escaping.

An attacker who lures an Administrator to an attacker-controlled page while a Download editor tab is open can send a postMessage call that writes arbitrary HTML and JavaScript into the download record. Because WordPress treats input from unfiltered_html users as trusted, the content is persisted unmodified. Any subsequent visitor loading a page containing the [download_data] shortcode executes the injected script.

Root Cause

The root cause is a missing origin check in the admin-side message listener combined with unescaped output in the shortcode render path. The handler trusts any window that posts to it, and the shortcode trusts database content that was never sanitized at write time.

Attack Vector

Exploitation requires no authentication from the attacker but depends on social engineering of a logged-in Administrator. The attacker crafts a page that opens or targets the Download edit screen and posts a payload via window.postMessage. Once the payload is saved, it reaches the browser of every frontend visitor, enabling script execution in a stored, scope-changed context.

For technical details on the vulnerable code paths, see the plugin source at download-operations.js L11, download-operations.js L34, AdminScripts.php L56, and Shortcodes.php L285.

Detection Methods for CVE-2026-100182

Indicators of Compromise

  • Download post entries whose post_content field contains <script>, onerror=, onload=, or javascript: constructs.
  • Unexpected modifications to download records with no corresponding entry in the WordPress audit log.
  • Frontend pages rendering the [download_data] shortcode that execute inline JavaScript or beacon to external domains.
  • Administrator browser sessions that visited untrusted third-party pages shortly before download record changes.

Detection Strategies

  • Query the wp_posts table for rows where post_type = 'dlm_download' and post_content matches HTML tag or event-handler patterns.
  • Deploy a Content Security Policy (CSP) with report-uri to surface inline script execution on pages rendering download shortcodes.
  • Review web server access logs for frontend page loads that trigger outbound requests to unfamiliar domains.
  • Correlate Administrator login timestamps with changes to Download Monitor records to identify suspicious edit sequences.

Monitoring Recommendations

  • Monitor file integrity and database content for Download Monitor plugin assets and dlm_download post rows.
  • Alert on new or modified entries in the wp_posts table containing script tags or event-handler attributes.
  • Track outbound HTTP connections from site visitor sessions to domains not referenced elsewhere in site content.
  • Audit Administrator browser hygiene and enforce separation of admin sessions from general web browsing.

How to Mitigate CVE-2026-100182

Immediate Actions Required

  • Update the Download Monitor plugin to a version later than 5.2.10 as soon as the patched release is available.
  • Audit all dlm_download records for injected HTML or JavaScript and remove any unauthorized content.
  • Instruct Administrators to log out of WordPress before browsing untrusted sites and to use a dedicated browser profile for admin tasks.
  • Rotate Administrator passwords and session tokens if evidence of exploitation is found.

Patch Information

The vendor committed a fix referenced in the Download Monitor changeset 3716767. Additional analysis is available in the Wordfence Vulnerability Analysis. Apply the patched plugin release across all WordPress instances using Download Monitor.

Workarounds

  • Deactivate the Download Monitor plugin until the patched version is deployed.
  • Remove the unfiltered_html capability from Administrator roles using a role-management plugin or custom code.
  • Enforce a strict Content Security Policy that disallows inline scripts on frontend pages rendering shortcodes.
  • Restrict Administrator accounts to least-privilege use and separate content editing from administrative duties.
bash
# Example: remove unfiltered_html capability from Administrators via WP-CLI
wp cap remove administrator unfiltered_html

# Verify the capability is no longer granted
wp cap list administrator | grep unfiltered_html

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.