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

CVE-2026-110664: WordPress Premium Packages Plugin XSS Flaw

CVE-2026-110664 is a stored cross-site scripting vulnerability in the Premium Packages WordPress plugin that allows authenticated attackers to inject malicious scripts. This article covers technical details, affected versions, exploitation methods, 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-110664 Overview

CVE-2026-110664 is a Stored Cross-Site Scripting (XSS) vulnerability in the Premium Packages – Sell Digital Products Securely plugin for WordPress. The flaw affects all versions up to and including 7.2.8 and resides in the handling of the note parameter. Authenticated users with subscriber-level access or higher can inject arbitrary JavaScript that executes when administrators or other users view the affected admin page. The weakness is classified under CWE-79, Improper Neutralization of Input During Web Page Generation.

Critical Impact

Subscriber-level attackers can store malicious scripts that execute in administrator browser sessions, enabling session theft, privilege escalation, and site compromise.

Affected Products

  • Premium Packages – Sell Digital Products Securely plugin for WordPress
  • All versions up to and including 7.2.8
  • WordPress sites with subscriber registration enabled

Discovery Timeline

  • 2026-10-16 - CVE-2026-110664 published to NVD
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-110664

Vulnerability Analysis

The vulnerability resides in the plugin's order note handling flow. Attackers submit a note field through the plugin's REST API order endpoint, implemented in OrderEndpoint.php and processed by OrderService.php. The input passes through WordPress's sanitize_textarea_field() function, which strips raw HTML tags but does not interpret or decode C-style hex escape sequences such as \\x3c and \\x3e.

When an administrator later views the order through order-notes.php, the stored note is rendered through stripcslashes(). This function decodes the stored hex escapes back into their literal characters, reconstructing a live HTML payload such as <img onerror=...>. The decoded markup is emitted into the admin page without further escaping, triggering script execution in the administrator's browser.

Root Cause

The root cause is a sanitization-decoding order mismatch. Input filtering runs before the string is decoded, so filters never see the malicious tag. The decoding step runs during output without a corresponding escape pass. This pattern defeats tag-based filters that assume the stored value is already in its final literal form.

Attack Vector

Exploitation requires authenticated access at subscriber level or above, which is low privilege on sites allowing open registration. The attacker submits a crafted note value containing hex-escaped HTML through the plugin's order API. The payload remains dormant in the database. When any user with access to the admin order view loads the page, stripcslashes() reconstructs the tag and the browser executes the attacker's script in that user's session context.

Technical details on the vulnerable code paths are available in the WordPress Order Notes View, the WordPress Order Endpoint Implementation, and the WordPress Order Service Implementation.

Detection Methods for CVE-2026-110664

Indicators of Compromise

  • Order notes containing hex escape sequences such as \\x3c, \\x3e, or \\x22 in the plugin's database tables
  • Unexpected outbound HTTP requests from admin browser sessions after viewing order pages
  • Newly created administrator accounts or modified user roles following admin review of orders
  • Subscriber accounts submitting orders with unusually long or binary-encoded note fields

Detection Strategies

  • Audit stored order notes for backslash-x byte sequences that decode to HTML tags or event handlers
  • Review WordPress REST API logs for POST requests to the plugin's order endpoints originating from low-privilege accounts
  • Correlate admin session anomalies with timestamps of order-notes page views

Monitoring Recommendations

  • Enable WordPress audit logging for user role changes, plugin modifications, and administrator logins
  • Monitor web server logs for POST requests containing escape sequences in request bodies
  • Deploy content security policy (CSP) headers to limit script execution and surface violations in reports

How to Mitigate CVE-2026-110664

Immediate Actions Required

  • Update the Premium Packages – Sell Digital Products Securely plugin to a version later than 7.2.8 as soon as the vendor publishes a fixed release
  • Review all existing order notes for suspicious hex-encoded content and remove malicious entries
  • Rotate administrator credentials and invalidate active admin sessions if exploitation is suspected
  • Restrict new user registration or require manual approval while a patched version is pending

Patch Information

The vendor committed a fix referenced in the WordPress Plugin Changeset 3747528, which modifies order-notes.php rendering. Site administrators should install the patched release once published through the WordPress plugin repository. Additional analysis is available in the Wordfence Vulnerability Analysis.

Workarounds

  • Disable the Premium Packages plugin until the patched version is installed
  • Deploy a web application firewall (WAF) rule to block requests containing \\x3c, \\x3e, and similar escape sequences in the note parameter
  • Restrict access to the plugin's order endpoints to trusted roles by using capability-based access filters
  • Implement a strict Content Security Policy that disallows inline scripts in the WordPress admin area
bash
# Configuration example
# Temporarily deactivate the vulnerable plugin via WP-CLI
wp plugin deactivate wpdm-premium-packages

# Search the database for suspicious hex-escaped payloads in order notes
wp db query "SELECT * FROM wp_postmeta WHERE meta_value LIKE '%\\\\\x3c%' OR meta_value LIKE '%onerror%';"

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.