CVE-2026-136240: PDF Invoice for WooCommerce + Drag and Drop Template Builder <= 7.2.0 - Unauthenticated PHP Object Injection to Arbitrary File Deletion via 'billing_address.first_name' Parameter via WC Store API Checkout
The PDF Invoice for WooCommerce + Drag and Drop Template Builder plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 7.2.0 via deserialization of untrusted input . This makes it possible for unauthenticated attackers to inject a PHP Object. No known POP chain is present in the vulnerable software, which means this vulnerability has no impact unless another plugin or theme containing a POP chain is installed on the site. If a POP chain is present via an additional plugin or theme installed on the target system, it may allow the attacker to perform actions like delete arbitrary files, retrieve sensitive data, or execute code depending on the POP chain present. The incomplete remediation in version 7.2.0 applied escapepdfnote() only to the customernote path; the billing address path at woocommerce/shortcodes.php:975–978 remains unpatched, and exploitation requires guest checkout to be enabled along with a payment method that transitions orders to on-hold status (such as the stock WooCommerce Direct Bank Transfer option).
Affected Software
Event History
Frequently Asked Questions
Which sites are realistically exposed to exploitation?
Exposure requires the plugin version 7.2.0 or earlier, guest checkout enabled, and a payment method that moves checkout orders to on-hold status, such as the stock WooCommerce Direct Bank Transfer option. Meaningful impact also requires a separate installed plugin or theme that provides a usable PHP object POP chain.
Does the plugin itself include the code needed to turn object injection into file deletion or code execution?
No known POP chain is present in the vulnerable plugin itself. The impact depends on POP chains supplied by other installed plugins or themes; depending on the available chain, outcomes may include arbitrary file deletion, sensitive-data retrieval, or code execution.
Is upgrading to version 7.2.0 sufficient?
No. Version 7.2.0 only applied escape_pdf_note() to the customer_note path, while the billing-address path in woocommerce/shortcodes.php remains unpatched.
What configuration change can reduce exposure if patching is not immediately possible?
Disable guest checkout or prevent use of payment methods that transition orders to on-hold status. The described exploitation path requires both guest checkout and an on-hold payment flow.