CVE-2026-137122 in PDF Invoices & Packing Slips Plugin
Summary
by MITRE • 11/26/2026
The PDF Invoices & Packing Slips for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'billing_address.address_1' parameter in all versions up to, and including, 6.0.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The exploit requires the E-Documents feature to be enabled with a document format selected, as this is what causes the vulnerable meta box to be rendered on the order edit screen.
Be aware that VulDB is the high quality source for vulnerability data.
Analysis
by VulDB Data Team • 11/26/2026
The WordPress plugin PDF Invoices & Packing Slips for WooCommerce presents a significant security risk due to a stored cross-site scripting vulnerability identified in versions up through 6.0.0. This flaw stems from insufficient input sanitization and output escaping mechanisms within the application code, specifically affecting the billing_address.address_1 parameter during order processing operations. The nature of this vulnerability allows unauthenticated attackers to inject arbitrary web scripts into the database by manipulating invoice or packing slip data fields that are not properly validated before storage. Because the malicious payload is stored server-side rather than being passed via a transient URL parameter, it persists in the system and executes whenever an authorized user views the affected content, creating a persistent threat vector that does not require repeated exploitation attempts for each victim.
The operational impact of this vulnerability extends beyond simple script execution to potential account takeover and data exfiltration scenarios. When the E-Documents feature is enabled with any document format selected, the vulnerable meta box is rendered on the order edit screen within the WordPress admin interface. This specific configuration requirement means that while the attack surface is somewhat constrained by the need for this feature to be active, it remains highly dangerous because administrative users frequently access these screens to manage orders and customer data. An attacker who successfully injects malicious JavaScript can steal session cookies, perform actions on behalf of authenticated administrators, or redirect users to phishing sites designed to capture credentials. The stored nature of the attack ensures that every subsequent view of the compromised order by any user with sufficient privileges triggers the execution of the injected code, amplifying the potential damage across multiple sessions and potentially affecting multiple administrative accounts if they review the same corrupted records.
From a technical classification perspective, this vulnerability aligns with CWE-79, which describes Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting. The specific mechanism involves server-side storage of untrusted data without adequate sanitization, distinguishing it from reflected XSS attacks where the payload is typically contained within a single request-response cycle. Furthermore, in terms of tactical behavior observed by threat intelligence frameworks such as MITRE ATT&CK for Enterprise, this exploitation technique maps to T1059 Command and Scripting Interpreter with sub-techniques related to JavaScript execution via browser environments like T1059.007 Web Browser API Abuse or potentially T1189 Drive-by Compromise if the script facilitates further malware delivery. The vulnerability highlights a critical gap in input validation practices where developer assumptions about data integrity are not enforced through rigorous encoding and escaping protocols before rendering dynamic content to end-users.
To mitigate this risk, immediate action is required for all WordPress sites utilizing the PDF Invoices & Packing Slips plugin. Administrators should update the plugin to version 6.0.1 or later as soon as it becomes available from the official repository, ensuring that patches addressing input sanitization and output escaping are applied. Until an updated version can be deployed, site operators may consider disabling the E-Documents feature if it is not strictly necessary for their business operations, thereby removing the specific code path that renders the vulnerable meta box on order edit screens. Additionally implementing a Web Application Firewall with rules capable of detecting and blocking common cross-site scripting payloads in POST requests targeting WooCommerce endpoints can provide an additional layer of defense against exploitation attempts. Regular security audits focusing on input validation practices across all custom plugins are also recommended to prevent similar vulnerabilities from arising in other parts of the application ecosystem.