Blog
PDF Invoice for WooCommerce: critical flaw up to 7.2.0
What it is and who is affectedA critical vulnerability has been published in the WordPress plugin PDF Invoice for WooCommerce + Drag and Drop Template...
What it is and who is affected
A critical vulnerability has been published in the WordPress plugin PDF Invoice for WooCommerce + Drag and Drop Template Builder. It is tracked as CVE-2026-136240 and classified under CWE-502 (deserialization of untrusted input). According to the National Vulnerability Database (NVD) of NIST, the flaw affects all versions up to, and including, 7.2.0.

The technical root of the problem is a PHP Object Injection: the plugin deserializes untrusted input, which allows an unauthenticated attacker to inject a PHP object. The NVD entry is explicit about the practical scope: no known POP chain exists inside the vulnerable plugin itself, so on its own the flaw has no direct impact. The risk materialises when another plugin or theme installed on the same site provides a POP chain. In that scenario, an attacker could use it to delete arbitrary files, retrieve sensitive data or execute code, depending on the chain available.
The advisory also notes that the remediation applied in 7.2.0 was incomplete: the escape function was applied only to the customer note path, while the billing address path in the plugin's WooCommerce shortcodes file remains unpatched. Exploitation requires guest checkout to be enabled and a payment method that moves orders to on-hold status, such as the stock WooCommerce Direct Bank Transfer option.
This concerns any Spanish SME, online shop or small IT team running a WooCommerce store with this plugin, particularly those with guest checkout active. The severity is CVSS 3.1 score 9.1, CRITICAL (vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H), published in the NVD on 26 November 2026.
Why it matters now
This CVE does not appear in CISA's KEV catalogue, so there is no public record of it being exploited in real attacks at the time of writing. That does not make it a low priority. An unauthenticated, network-reachable injection flaw rated critical is exactly the kind of weakness that automated scanners pick up quickly across WordPress installations, and the incomplete fix in 7.2.0 means sites that believe they are covered may still be exposed.
There is a second reason for urgency: the impact depends on what else is installed. A shop that looks safe today can become exploitable tomorrow simply by adding a plugin or theme that introduces a POP chain. Security here is a property of the whole installation, not of a single plugin in isolation.
What to do today
- Check whether the plugin is installed and in which version. Anything up to and including 7.2.0 falls within the affected range.
- Apply the update indicated in the vendor's advisory. The official references point to the 7.2.1 package of the plugin; follow the vendor's notice rather than assuming that a single version number resolves every path. Given the incomplete remediation described in 7.2.0, confirm with the vendor's guidance which release fully addresses the billing address path.
- Reduce exposure while you update. If guest checkout is not essential, disabling it removes one of the conditions the advisory links to exploitation. Review payment methods that move orders to on-hold status.
- Look for signs of intrusion. Review logs for unexpected POST requests tied to checkout and order flows, check for unfamiliar files or modified plugin files, and verify that no unexpected administrative users or scheduled tasks have appeared.
- Inventory your plugins and themes. Because the flaw needs a POP chain elsewhere to become dangerous, knowing exactly what runs on the site is part of assessing real risk.
How an experienced security team can help
For a small shop or an internal IT team with limited bandwidth, the hard part is rarely reading the advisory; it is confirming the real state of the installation and closing the gaps around it. A security partner can audit the WordPress, PrestaShop or Joomla estate, verify plugin and core versions against published CVEs, and carry out hardening on the server and application layers so that exposed entry points are reduced.
Where a site has already been compromised, the priority shifts to incident response: identifying how the attacker entered, cleaning the installation and repairing a hacked site without losing orders or customer data. Ongoing monitoring and patching routines keep that work from repeating every time a new critical advisory lands. At ALMC we work with businesses across Lleida, Barcelona, Tarragona and Girona on exactly this: finding and closing vulnerabilities before someone else does, with GDPR obligations in mind when customer data is at stake.
Related
- Ivanti Connect Secure: CVE-2026-104935 Under Active Attack
- CVE-2026-96951: Windows Shell Command Injection Under Attack
- Click to Chat for WhatsApp: CVE-2026-92097 in WordPress
- Abuse Shield
Is your business exposed to flaws like this?
ALMC checks which versions you are running, applies the patches and hardens your servers and website. Contact our team for a security review.
