---
title: "CVE-2026-136240: WooCommerce PDF Invoice + Drag and Drop Template Builder - PHP Object Injection"
description: "WooCommerce PDF Invoice + Drag and Drop Template Builder plugin for WordPress <= 7.2.0 contains a PHP Object Injection caused by deserialization of untrusted input, letting unauthenticated attackers inject PHP objects if a POP chain is present, exploit requires guest checkout enabled and specific payment method."
url: https://panop.io/threat-heartbeat/CVE-2026-136240/
---

# CVE-2026-136240 WooCommerce PDF Invoice + Drag and Drop Template Builder - PHP Object Injection

WooCommerce PDF Invoice + Drag and Drop Template Builder plugin for WordPress <= 7.2.0 contains a PHP Object Injection caused by deserialization of untrusted input, letting unauthenticated attackers inject PHP objects if a POP chain is present, exploit requires guest checkout enabled and specific payment method.

CVSS base score 9.1 /10

Critical

CISA KEV

Not listed

Public exploit

None known

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-136240)

## Details

Type

PHP Object Injection

Impact

Remote Code Execution, Information Disclosure, Data Tampering

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Published

26 November 2026

Updated

27 November 2026

Weakness

[CWE-502](https://cwe.mitre.org/data/definitions/502.html)

## Vendor fix

Update to a version later than 7.2.0 with complete fixes or apply patches addressing all vulnerable paths.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-136240](https://nvd.nist.gov/vuln/detail/CVE-2026-136240)
- [https://plugins.trac.wordpress.org/browser/pdf-for-woocommerce/tags/7.2.0/woocommerce/emails/index.php#L70](https://plugins.trac.wordpress.org/browser/pdf-for-woocommerce/tags/7.2.0/woocommerce/emails/index.php#L70)
- [https://plugins.trac.wordpress.org/browser/pdf-for-woocommerce/tags/7.2.0/woocommerce/shortcodes.php#L975](https://plugins.trac.wordpress.org/browser/pdf-for-woocommerce/tags/7.2.0/woocommerce/shortcodes.php#L975)
- [https://www.wordfence.com/threat-intel/vulnerabilities/id/6bdb8018-8a96-45b1-b1e6-5766891bca76?source=cve](https://www.wordfence.com/threat-intel/vulnerabilities/id/6bdb8018-8a96-45b1-b1e6-5766891bca76?source=cve)
- [https://downloads.wordpress.org/plugin/pdf-for-woocommerce.7.2.1.zip](https://downloads.wordpress.org/plugin/pdf-for-woocommerce.7.2.1.zip)
- [https://plugins.trac.wordpress.org/browser/pdf-for-woocommerce/tags/7.2.0/libs/HtmlDocument.php#L300](https://plugins.trac.wordpress.org/browser/pdf-for-woocommerce/tags/7.2.0/libs/HtmlDocument.php#L300)
- [https://plugins.trac.wordpress.org/browser/pdf-for-woocommerce/tags/7.2.0/libs/HtmlNode.php#L280](https://plugins.trac.wordpress.org/browser/pdf-for-woocommerce/tags/7.2.0/libs/HtmlNode.php#L280)
- [https://plugins.trac.wordpress.org/browser/pdf-for-woocommerce/tags/7.2.0/vendor/mpdf/mpdf/src/Cache.php#L102](https://plugins.trac.wordpress.org/browser/pdf-for-woocommerce/tags/7.2.0/vendor/mpdf/mpdf/src/Cache.php#L102)
- [https://plugins.trac.wordpress.org/browser/pdf-for-woocommerce/tags/7.2.0/vendor/mpdf/mpdf/src/Mpdf.php#L9105](https://plugins.trac.wordpress.org/browser/pdf-for-woocommerce/tags/7.2.0/vendor/mpdf/mpdf/src/Mpdf.php#L9105)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
