CVE-2026-109220: addonsorg PDF Invoice for WooCommerce + Drag and Drop Template Builder · Remote code execution
Exploitation: None known · CVSS 9.8 Critical · Unauthenticated · Published 2026-10-31
Description
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.1.1 via the 'customer_note' parameter parameter. This is due to insufficient sanitization of the customer_note checkout field, which is inlined verbatim into invoice HTML, entity-decoded back into a live tag by simplehtmldom, reassembled into raw bytes by mPDF, and passed to unserialize() in _getObjAttr without validation. This makes it possible for unauthenticated attackers to execute code on the server. An unauthenticated attacker can trigger the vulnerable code path on a default install by placing an anonymous WooCommerce checkout via the public Store API (POST /wc/store/v1/checkout) using a Direct Bank Transfer or cheque payment method, which automatically transitions the order to 'on-hold' status and fires the plugin's invoice-generation hook.
Enclave's analysis
Unauthenticated PHP object injection in the PDF Invoice for WooCommerce plugin, up to 7.1.1. An attacker puts a payload in the customer_note field of an anonymous Store API checkout, and the invoice generator unserializes it. The advisory claims code execution. No public exploit or in-the-wild use has turned up, and the gadget chain is unverified. Update to 7.2.0 or later.
Fix
Upgrade PDF Invoice for WooCommerce + Drag and Drop Template Builder (pdf-for-woocommerce) to 7.2.0. No fixed version is listed for PDF Invoice for WooCommerce + Drag and Drop Template Builder; follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| PDF Invoice for WooCommerce + Drag and Drop Template Builder | 0 through 7.1.1 | Not listed |
| PDF Invoice for WooCommerce + Drag and Drop Template Builder (pdf-for-woocommerce) | <= 7.1.1 | 7.2.0 |