Advisory

CVE-2026-130321

CVSS 7.2 (CVE record)Published Nov 27, 2026Last verified Nov 30, 2026

Unauthenticated attackers can inject arbitrary web scripts into PDF Invoices & Packing Slips for WooCommerce via billing address parameters.

Exploited in the wild
Not reported
Installs not updated
At least 26.05%
Affected and fixed versions
ComponentAffectedFixed in
PDF Invoices & Packing Slips for WooCommerce (plugin)6.0.0 and earlier6.0.1
Run a free scan of your site

The free scan checks what is visible from outside your site. It does not log in, and it cannot confirm on its own whether this specific issue is present.

Summary

A Stored Cross-Site Scripting (XSS) vulnerability, identified as CVE-2026-130321, affects the PDF Invoices & Packing Slips for WooCommerce plugin. This vulnerability impacts all plugin versions up to and including 6.0.0. A security fix is available in version 6.0.1, released on November 25, 2026. As of November 26, 2026, there is no confirmed active exploitation of this vulnerability.

Affected and patched versions

  • PDF Invoices & Packing Slips for WooCommerce (plugin woocommerce-pdf-invoices-packing-slips): affected 6.0.0 and earlier; fixed in 6.0.1

Is my site vulnerable?

A site is vulnerable to CVE-2026-130321 if it runs the PDF Invoices & Packing Slips for WooCommerce plugin version 6.0.0 or earlier. This includes any version prior to 6.0.1. To determine if your site uses an affected version, check the installed version of the PDF Invoices & Packing Slips for WooCommerce plugin.

The vulnerability's exploitability is conditional. It requires the E-Documents feature within the plugin to be enabled, specifically configured with a UBL PEPPOL BIS 3.0 format. This setting is disabled by default. If this feature is not enabled on your site, the vulnerable meta box that an attacker would target is not registered or rendered, reducing the immediate risk. However, the underlying vulnerability remains in the software until patched.

What an attacker actually does

This vulnerability, a Stored Cross-Site Scripting (XSS) flaw, allows unauthenticated attackers to inject malicious web scripts into a vulnerable site. The core issue lies in the PDF Invoices & Packing Slips for WooCommerce plugin's handling of specific billing address parameters. These parameters include 'billing_address.first_name', 'company', 'address_1', 'address_2', and 'city'. The plugin, in versions up to and including 6.0.0, does not adequately sanitize input received for these fields or escape output when these fields are displayed. This oversight creates an opportunity for an attacker to embed arbitrary web scripts, typically JavaScript, within these seemingly innocuous data fields.

An attacker would craft a request that includes malicious script code within one or more of the vulnerable billing address parameters. Because the plugin fails to properly clean this input, the script code is then stored within the site's database, becoming a persistent part of the site's content. When a legitimate user, such as a site administrator or another user viewing an invoice or packing slip that incorporates these billing details, accesses a page where the injected data is rendered, the stored malicious script executes within their web browser. This execution occurs in the context of the user's session, granting the attacker the ability to perform actions on behalf of that user.

The impact of such script execution can vary significantly. An attacker could steal session cookies, leading to session hijacking and unauthorized access to the user's account. They might redirect users to malicious websites, deface parts of the website, or inject phishing forms to steal credentials. Furthermore, the attacker could potentially manipulate data displayed to the user or even initiate actions within the administrative interface if the compromised user has elevated privileges. The vulnerability is rated with a CVSS v3.1 base score of 7.2, indicating a high severity. Exploitation is contingent on the E-Documents feature being enabled with a UBL PEPPOL BIS 3.0 format, as this specific configuration controls the rendering of the vulnerable meta box that processes these billing address fields. If this feature is not active, the attack vector is not present, even if the vulnerable code exists.

How to detect a compromise

Detecting a compromise related to a Stored Cross-Site Scripting vulnerability like CVE-2026-130321 involves observing unusual behavior on your site, particularly on pages that display or process WooCommerce order details, invoices, or packing slips. Since the vulnerability allows for the injection of arbitrary web scripts, the indicators of compromise often manifest as unexpected client-side activity.

One primary indicator is the presence of unexpected pop-up windows, redirects to unfamiliar websites, or alterations to the content of pages that should be displaying standard billing information. Users might report unusual behavior when viewing their order details or when administrators access the backend to manage orders. Reviewing the browser's developer console (typically accessible by pressing F12) when viewing affected pages can reveal JavaScript errors or the execution of scripts that are not part of the legitimate plugin or theme functionality. Look for script tags or unusual code within the HTML source of rendered pages, especially around areas where billing address information is displayed.

Administrators should also examine their site's database for injected scripts. Specifically, investigate entries related to WooCommerce orders and customer billing addresses. Malicious scripts might be stored in plain text or encoded formats within the first_name, company, address_1, address_2, or city fields associated with orders. While a direct grep command on the filesystem might not immediately reveal database-stored XSS, a database query could be more effective. For example, using a tool like phpMyAdmin or a command-line client, you could query the wp_postmeta table (assuming default WordPress table prefixes) for entries related to _billing_first_name, _billing_company, _billing_address_1, _billing_address_2, and _billing_city that contain script-like patterns. Look for <script> tags, javascript: URLs, or HTML event handlers (e.g., onerror, onload) within these fields.

Additionally, review server access logs for any unusual or suspicious requests, particularly those that might indicate attempts to inject data into order forms or administrative interfaces. While unauthenticated, an attacker would still need to submit data to the site. Monitoring for unexpected outbound connections initiated by client-side scripts from your site, or unusual activity reported by security monitoring tools, can also serve as detection methods.

How to fix

The most direct and effective method to address CVE-2026-130321 is to update the PDF Invoices & Packing Slips for WooCommerce plugin to a patched version.

  1. Update the Plugin: Update the PDF Invoices & Packing Slips for WooCommerce plugin to version 6.0.1 or a newer version. This version, released on November 25, 2026, includes the necessary security fixes to correct the insufficient input sanitization and output escaping that led to this vulnerability. Access your WordPress administration dashboard, navigate to the 'Plugins' section, and locate the PDF Invoices & Packing Slips for WooCommerce plugin. If an update is available, proceed with the update process.

  2. Clear Caches: After updating the plugin, clear any website caching mechanisms you have in place, including server-side caches, plugin caches, and CDN caches. This ensures that the updated plugin code is served to all users and that any potentially cached malicious scripts are removed from public view.

  3. Review for Existing Injections: If your site was running a vulnerable version of the plugin with the E-Documents feature enabled, it is advisable to review existing WooCommerce orders and their associated billing address fields for any signs of previously injected malicious scripts. This manual review can help identify and remove any persistent XSS payloads that might have been stored in your database before the patch was applied. Focus on the 'first_name', 'company', 'address_1', 'address_2', and 'city' fields within past order records.

  4. Consider E-Documents Feature Status: While updating is the primary fix, if immediate updating is not feasible, ensure that the E-Documents feature with a UBL PEPPOL BIS 3.0 format is disabled. This setting is disabled by default. Disabling this feature removes the specific condition required for the vulnerable meta box to be registered and rendered, thereby mitigating the attack vector. However, this is a temporary measure and does not resolve the underlying vulnerability in the plugin's code. Updating remains the recommended long-term solution.

Timeline

Date

Event

2026-11-25

Patch release

2026-11-26

NVD record published

2026-11-26

No active exploitation confirmed

2026-11-26

Vulnerability publication

Sources

PowerSEC coverage
PowerSEC detects the affected versions on every plan, and has since November 28, 2026. No PowerSEC firewall rule blocks this attack. Update to 6.0.1 or later to remove the vulnerability.
This record contains material that is subject to copyright Copyright 2012-2026 Defiant Inc. Copyright 1999-2026 The MITRE Corporation
Hacked? Talk to us