---
id: CVE-2026-109220
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
summary: >-
  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
  insuffici…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-502
vendor: addonsorg
product: PDF Invoice for WooCommerce + Drag and Drop Template Builder
affected:
  - pdf_invoice_for_woocommerce_+_drag_and_drop_template_builder <= 7.1.1
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-11-03T19:07:23.905957Z'
published: '2026-10-31'
updated: '2026-11-03'
sourceUpdated: '2026-11-03T19:07:30.397Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-109220'
references:
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/1bc3529c-6161-4b89-8a35-c3a9b7b8c308?source=cve
  - url: >-
      https://plugins.trac.wordpress.org/browser/pdf-for-woocommerce/tags/7.1.1/vendor/mpdf/mpdf/src/Mpdf.php#L9105
  - url: >-
      https://plugins.trac.wordpress.org/browser/pdf-for-woocommerce/tags/7.1.1/woocommerce/shortcodes.php#L708
  - url: >-
      https://plugins.trac.wordpress.org/browser/pdf-for-woocommerce/tags/7.1.1/woocommerce/emails/index.php#L70
  - url: >-
      https://plugins.trac.wordpress.org/browser/pdf-for-woocommerce/tags/7.1.1/frontend/index.php#L378
  - url: >-
      https://plugins.trac.wordpress.org/browser/pdf-for-woocommerce/tags/7.1.1/libs/HtmlDocument.php#L300
  - url: >-
      https://plugins.trac.wordpress.org/browser/pdf-for-woocommerce/tags/7.1.1/libs/HtmlNode.php#L1266
  - url: 'https://downloads.wordpress.org/plugin/pdf-for-woocommerce.7.2.0.zip'
tags:
  - cve.org
epss: 0.0052
epssPercentile: 0.44426
ingestedAt: '2026-11-05T20:33:06.377Z'
---

## Overview

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.

## Affected

- `pdf_invoice_for_woocommerce_+_drag_and_drop_template_builder <= 7.1.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
