Critical · 9.8 Critical vulnerabilities CVE-2026-109220
Unauthenticated PHP Object Injection in PDF Invoice for WooCommerce Plugin Can Lead to Remote Code Execution
A critical vulnerability (CVE-2026-109220) in the PDF Invoice for WooCommerce + Drag and Drop Template Builder plugin for WordPress allows unauthenticated attackers to achieve PHP Object Injection, potentially leading to remote code execution, via the checkout 'customer_note' field. No fix is currently available.
By PatchBriefing · ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A critical vulnerability has been disclosed in the PDF Invoice for WooCommerce + Drag and Drop Template Builder plugin for WordPress, a tool used to generate PDF invoices for WooCommerce stores. Tracked as CVE-2026-109220, the flaw allows unauthenticated attackers to inject PHP objects through a checkout field, with the potential to escalate to remote code execution on the server. As of this writing, no fix is available from the vendor.
What happened
A PHP Object Injection vulnerability was identified in the PDF Invoice for WooCommerce + Drag and Drop Template Builder plugin, affecting all versions up to and including 7.1.1. The vulnerability stems from insufficient sanitization of the 'customer_note' parameter submitted during WooCommerce checkout. An unauthenticated attacker can exploit this by placing an anonymous order through the public WooCommerce Store API endpoint (POST /wc/store/v1/checkout) using a Direct Bank Transfer or cheque payment method. These payment methods automatically move the order to 'on-hold' status, which triggers the plugin's invoice-generation routine and the vulnerable code path.
Technical cause
The vulnerability (CWE-502: Deserialization of Untrusted Data) arises because the customer_note checkout field is inlined verbatim into the generated invoice HTML. The simplehtmldom library then entity-decodes this content back into a live HTML tag. This tag is subsequently reassembled into raw bytes by the mPDF library and passed to PHP's unserialize() function inside the internal _getObjAttr routine without any validation. This chain allows an attacker-controlled string to be deserialized into a PHP object, which can be leveraged for remote code execution depending on other classes (gadget chains) available in the application environment.
Why it matters
This vulnerability is rated as critical with a CVSS base score of 9.8, reflecting that it can be exploited remotely, without authentication, and without any user interaction, while potentially compromising confidentiality, integrity, and availability of the affected system entirely. The attack path is exposed on a default installation: no special configuration or account privileges are required, only a standard WooCommerce checkout flow using a common offline payment method.
Who is affected
Any WordPress site running the PDF Invoice for WooCommerce + Drag and Drop Template Builder plugin in version 7.1.1 or earlier, with WooCommerce checkout enabled and the Direct Bank Transfer or cheque payment method available, is exposed to this vulnerability.
Affected versions
All versions of the PDF Invoice for WooCommerce + Drag and Drop Template Builder plugin up to and including version 7.1.1 are affected.
Fixes and mitigation
No fix is currently available from the vendor. Until a patched version is released, site operators should consider disabling the Direct Bank Transfer and cheque payment methods in WooCommerce, or temporarily deactivating the PDF Invoice for WooCommerce + Drag and Drop Template Builder plugin, to remove the exposed attack path.
Recommended action
Site administrators using this plugin should monitor for a vendor update and apply it as soon as it becomes available. In the meantime, restricting or disabling the affected offline payment methods, or disabling the plugin entirely, is recommended to reduce exposure. Review server logs for unusual checkout activity or anonymous orders placed with suspicious note content as a precaution.
PatchBriefing score
9.8 / 10 · Critical
Official CVSS: 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS 0.0097 (61 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
Reported fixes
No fix is currently available from the vendor. Until a patched version is released, site operators should consider disabling the Direct Bank Transfer and cheque payment methods in WooCommerce, or temporarily deactivating the PDF Invoice for WooCommerce + Drag and Drop Template Builder plugin, to remove the exposed attack path.
How this was built
1 source records were collected, matched and used to prepare the report above.
-
NVD (NIST) database
Revision history
- Published
- Generated
- Published
- Generated