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

CVE-2026-102401: WordPress Download Manager XSS Vulnerability

CVE-2026-102401 is a stored XSS flaw in WordPress Download Manager plugin affecting logged-out visitors through the regurl parameter. This article covers the 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-102401 Overview

CVE-2026-102401 is a Stored Cross-Site Scripting (XSS) vulnerability in the Download Manager plugin for WordPress affecting all versions up to and including 3.3.71. The flaw resides in the handling of the regurl parameter, which is rendered into the login-form.php template without sufficient input sanitization or output escaping. Authenticated users with contributor-level access or higher can inject arbitrary JavaScript that executes in the browsers of logged-out site visitors who view the affected page. The vulnerability is tracked under CWE-79.

Critical Impact

Authenticated contributors can store malicious scripts that execute in the browsers of unauthenticated visitors, enabling session theft, redirection, and client-side attacks against site visitors.

Affected Products

  • WordPress Download Manager plugin, versions up to and including 3.3.71
  • Deployments using the plugin's login-form.php template view
  • WordPress sites that permit contributor-level or higher user registration

Discovery Timeline

  • 2026-10-10 - CVE-2026-102401 published to NVD
  • 2026-10-13 - Last updated in NVD database

Technical Details for CVE-2026-102401

Vulnerability Analysis

The vulnerability stems from improper handling of the regurl parameter inside the plugin's user login workflow. The plugin accepts the parameter value and passes it to the login-form.php template view, where it is written into the rendered HTML without applying appropriate escaping functions such as esc_url() or esc_attr(). Any contributor-level or higher authenticated user can therefore persist attacker-controlled markup that executes when a visitor loads the page.

The payload only triggers for logged-out visitors. The vulnerable template branch at login-form.php line 140 is gated on !is_user_logged_in(), so authenticated users viewing the same page are served a different template and are not exposed. This narrows the victim pool to anonymous site visitors but still permits credential harvesting, phishing overlays, and drive-by redirection.

Root Cause

The root cause is missing input sanitization and output escaping around the regurl value within the plugin's User/Login.php handler and the companion login-form.php view. Relevant code locations include Login.php line 37, Login.php line 126, and Login.php line 132. WordPress provides context-appropriate escaping APIs for URL and attribute contexts, but these were not applied before the parameter reached the template.

Attack Vector

An attacker with contributor privileges stores a crafted regurl value through the plugin's user-facing login configuration. The payload persists in site content. When a logged-out visitor loads the page that renders the login form, the malicious script executes in the visitor's browser under the site's origin. Exploitation requires network access and low privileges, with no user interaction beyond visiting the page.

See the plugin source browser and the fix in changeset 3724472 for technical details.

Detection Methods for CVE-2026-102401

Indicators of Compromise

  • Unexpected <script> tags, javascript: URIs, or HTML event handlers rendered inside the Download Manager login form markup
  • Outbound requests from visitor browsers to unfamiliar domains originating from pages that render the plugin's login-form.php view
  • Content modifications attributed to contributor-level accounts that touch Download Manager configuration
  • Anomalous regurl parameter values stored in wp_options or plugin-managed tables

Detection Strategies

  • Inspect rendered HTML of pages containing the plugin's login form shortcode for unescaped markup around the regurl value
  • Review WordPress audit logs for contributor-level accounts modifying Download Manager settings or related post meta
  • Scan the database for stored regurl values containing <, >, ", ', or javascript: substrings
  • Compare the deployed plugin files against the fixed version referenced in Wordfence Vulnerability ID 4f5985b0

Monitoring Recommendations

  • Enable WordPress and web-server access logging and alert on requests containing script tags or encoded payloads in regurl
  • Monitor Content Security Policy (CSP) violation reports for inline-script or external-source violations on login pages
  • Track creation and privilege changes for contributor-level accounts, especially on sites with open registration

How to Mitigate CVE-2026-102401

Immediate Actions Required

  • Upgrade the Download Manager plugin to a version newer than 3.3.71 that incorporates changeset 3724472
  • Audit all contributor-level and above accounts and remove any that are unused or unrecognized
  • Review existing pages that render the plugin's login form for injected markup and remove malicious entries
  • Rotate credentials for any administrator accounts that may have interacted with compromised pages

Patch Information

The vendor addressed the issue in the commit tracked by changeset 3724472, which applies escaping to the regurl parameter before output in login-form.php. Site operators should install the fixed release via the WordPress plugin updater. Refer to the Wordfence advisory for vendor coordination details.

Workarounds

  • Restrict new user registration or lower default roles below contributor until the patch is applied
  • Deploy a web application firewall rule that blocks requests containing <script, javascript:, or on*= patterns in the regurl parameter
  • Apply a strict Content Security Policy that disallows inline scripts and limits script sources to trusted origins
  • Temporarily disable the Download Manager plugin on sites that do not require its login form functionality
bash
# Example WP-CLI commands to update the plugin and audit contributor accounts
wp plugin update download-manager
wp user list --role=contributor --fields=ID,user_login,user_registered,user_email

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.