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

CVE-2026-92244: WooCommerce PDF Invoices XSS Vulnerability

CVE-2026-92244 is a stored cross-site scripting vulnerability in the PDF Invoices & Packing Slips for WooCommerce plugin that allows unauthenticated attackers to inject malicious scripts. This article covers technical details, affected versions, impact analysis, 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-92244 Overview

CVE-2026-92244 is a stored Cross-Site Scripting (XSS) vulnerability [CWE-79] in the PDF Invoices & Packing Slips for WooCommerce plugin for WordPress. The flaw affects all versions up to and including 5.16.1. Unauthenticated attackers can inject arbitrary web scripts through the Billing First Name, Last Name, and Company fields during guest checkout. The injected payload executes when any user, including administrators, views the affected pages. The vulnerability stems from insufficient input sanitization and output escaping in order field handling.

Critical Impact

Unauthenticated attackers can plant persistent JavaScript payloads via guest-checkout orders. The scripts execute in administrator browsers that view invoice or order management pages.

Affected Products

  • PDF Invoices & Packing Slips for WooCommerce plugin for WordPress
  • All versions up to and including 5.16.1
  • Fixed in version 5.16.2

Discovery Timeline

  • 2026-10-01 - CVE-2026-92244 published to the National Vulnerability Database (NVD)
  • 2026-10-01 - Last updated in NVD database

Technical Details for CVE-2026-92244

Vulnerability Analysis

The vulnerability resides in how the PDF Invoices & Packing Slips plugin processes WooCommerce billing fields during order creation and rendering. During guest checkout, unauthenticated users submit the Billing First Name, Last Name, and Company fields. The plugin stores these values and later renders them in administrative views and generated documents without adequate output escaping.

Attackers can leverage this flaw to execute JavaScript in the context of any user who views an affected order. Administrator sessions are a primary target because session hijacking or admin action forgery can follow successful execution.

Root Cause

The underlying sanitization routines, sanitize_text_field() and wc_clean() from WooCommerce, do not strip entity-encoded strings that contain no literal < character. An attacker-supplied payload that uses HTML entity encoding bypasses the filter at ingress. The payload is stored intact and later decoded by the browser when the admin UI or PDF-related view renders the field without context-aware escaping.

Attack Vector

Exploitation requires no authentication and no user interaction beyond an administrator viewing an order. An attacker places an order through the public WooCommerce checkout flow and inserts the entity-encoded JavaScript payload into one of the three vulnerable billing fields. When a store operator opens the order in the WordPress admin panel or interacts with plugin-generated views, the browser decodes the stored entities and executes the attacker-controlled script. For technical references, see the plugin changeset for 5.16.2 and the Wordfence advisory.

Detection Methods for CVE-2026-92244

Indicators of Compromise

  • Order records containing HTML entity sequences such as <script> or <script> in billing name or company fields.
  • Unexpected outbound HTTP requests originating from administrator browser sessions after viewing orders.
  • New or modified WordPress administrator accounts created shortly after an admin opened a guest-checkout order.

Detection Strategies

  • Query the WooCommerce order metadata for entity-encoded characters in _billing_first_name, _billing_last_name, and _billing_company fields.
  • Monitor WordPress audit logs for privileged actions originating immediately after order views.
  • Inspect Content Security Policy (CSP) violation reports from the WordPress admin domain for inline script execution attempts.

Monitoring Recommendations

  • Enable detailed logging of plugin activity and administrator session actions in the WooCommerce environment.
  • Alert on creation of new admin users, option updates, or plugin installs that follow order views within short time windows.
  • Monitor web server access logs for guest checkout submissions containing encoded script tags or JavaScript keywords.

How to Mitigate CVE-2026-92244

Immediate Actions Required

  • Update the PDF Invoices & Packing Slips for WooCommerce plugin to version 5.16.2 or later.
  • Audit existing orders for suspicious entity-encoded content in billing fields and sanitize or remove affected records.
  • Rotate administrator credentials and invalidate active sessions if admins viewed affected orders before patching.

Patch Information

The vendor released version 5.16.2, which addresses the insufficient sanitization and output escaping in the affected billing field handling. Review the official changeset for the code-level fix.

Workarounds

  • Disable guest checkout in WooCommerce until the plugin is updated, requiring account creation that increases attacker friction.
  • Deploy a Web Application Firewall (WAF) rule to block checkout submissions containing HTML entity sequences that decode to script tags.
  • Restrict administrator access to the WooCommerce order management screens to a limited set of hardened accounts.
bash
# Update the vulnerable plugin via WP-CLI
wp plugin update woocommerce-pdf-invoices-packing-slips --version=5.16.2

# Verify the installed version
wp plugin get woocommerce-pdf-invoices-packing-slips --field=version

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.