PDF Invoice for WooCommerce + Drag and Drop Template Builder
PDF Invoice for WooCommerce + Drag and Drop Template Builder <= 7.2.0 - Unauthenticated PHP Object Injection to Arbitrary File Deletion via 'billing_address.first_name' Parameter via WC Store API Checkout
CVE-2026-136240Published 26 Nov 2026, 14:36 UTC
Real-world risk
6.0/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
9.1
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Wordfence)
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.2.0 via deserialization of untrusted input . This makes it possible for unauthenticated attackers to inject a PHP Object. No known POP chain is present in the vulnerable software, which means this vulnerability has no impact unless another plugin or theme containing a POP chain is installed on the site. If a POP chain is present via an additional plugin or theme installed on the target system, it may allow the attacker to perform actions like delete arbitrary files, retrieve sensitive data, or execute code depending on the POP chain present. The incomplete remediation in version 7.2.0 applied escape_pdf_note() only to the customer_note path; the billing address path at woocommerce/shortcodes.php:975–978 remains unpatched, and exploitation requires guest checkout to be enabled along with a payment method that transitions orders to on-hold status (such as the stock WooCommerce Direct Bank Transfer option).
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| PDF Invoice for WooCommerce + Drag and Drop Template BuilderNiche | <= 7.2.0 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data tamperingWrites or changes important data without gaining execution | From the CVSS vector | 0.70 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 1.0% chance of exploitation in 30 days (percentile 65), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.7 × prerequisites 1 × threat 0.855.950
- Rounded to one decimal between 0.1 and 106.0
Exploitation and evidence timeline
- 26 Nov 2026 Published
- 2 Dec 2026 Risk 6.0 (cvss fallback)
Weakness
CWE-502
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/6bdb8018-8a96-45b1-b1e6-5766891bca76?source=cve
- 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/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/vendor/mpdf/mpdf/src/Cache.php#L102
- 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/emails/index.php#L70
- https://downloads.wordpress.org/plugin/pdf-for-woocommerce.7.2.1.zip
- CVE-2026-136240 on CVE.org