CVE-2026-109220

PDF Invoice for WooCommerce + Drag and Drop Template Builder <= 7.1.1 - Unauthenticated PHP Object Injection to Remote Code Execution via 'customer_note' Checkout Field

Published Oct 31, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is a PHP Object Injection flaw that occurs when the PDF Invoice for WooCommerce + Drag and Drop Template Builder plugin unsafely reflects user‐supplied "customer_note" input into invoice HTML. The raw text is entity‑decoded, parsed via simplehtmldom, then unserialized in _getObjAttr without validation, allowing an attacker to inject malicious objects that PHP executes. This flaw grants the ability to run arbitrary code on the server whenever a checkout order transitions to on‑hold status, resulting in full remote code execution and loss of confidentiality, integrity, and availability of the hosted WordPress site.

Affected Systems

All versions of the PDF Invoice for WooCommerce + Drag and Drop Template Builder plugin up to and including 7.1.1 are vulnerable. WordPress sites that run this plugin and allow unauthenticated checkout via the public Store API are at risk.

Risk and Exploitability

The CVSS score of 9.8 indicates critical severity. The attack vector is unauthenticated; an attacker can trigger the exploit by posting an anonymous WooCommerce checkout through the public API, selecting Direct Bank Transfer or cheque payment. The vulnerable path is executed during the plugin's invoice‑generation hook when the order status changes. Exploitation does not require credentials and can lead to immediate remote code execution. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, but the high severity and unauthenticated nature make timely remediation essential.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the PDF Invoice for WooCommerce + Drag and Drop Template Builder plugin to version 7.2.0 or later to remove the unsanitized "customer_note" handling.
  • If immediate upgrade is not possible, restrict access to the WooCommerce public Store API, for example by using a plugin or .htaccess rule that requires authentication for the /wc/store/v1/checkout endpoint, thus preventing unauthenticated checkout requests from reaching the vulnerable code path.
  • Apply a site‑wide filter that sanitizes or removes the "customer_note" field before it reaches the plugin, for example by adding a function in the theme’s functions.php that strips or escapes this parameter.

Generated by OpenCVE AI on October 31, 2026 at 08:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Addonsorg
Addonsorg pdf Invoice For Woocommerce + Drag And Drop Template Builder
Wordpress-extensions
Wordpress-extensions pdf Invoice For Woocommerce + Drag And Drop Template Builder
Vendors & Products Addonsorg
Addonsorg pdf Invoice For Woocommerce + Drag And Drop Template Builder
Wordpress-extensions
Wordpress-extensions pdf Invoice For Woocommerce + Drag And Drop Template Builder
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title PDF Invoice for WooCommerce + Drag and Drop Template Builder <= 7.1.1 - Unauthenticated PHP Object Injection to Remote Code Execution via 'customer_note' Checkout Field
Weaknesses CWE-502
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Nov 3, 2026, 7:07 PM
Reserved
Oct 12, 2026, 1:45 PM
Status
Deferred
Published
Oct 31, 2026, 7:16 AM
Modified
Nov 3, 2026, 7:17 PM