← Back to Patch Radar
PATCH RADAR / CVE-2026-136240

CVE-2026-136240: WooCommerce PDF Invoice Plugin Object Injection

Unpatched billing-address path in PDF Invoice for WooCommerce up to 7.2.0 allows PHP object injection during guest checkout; impact depends on other plugins. Check and remediate.

Critical · CVSS 3.1 · 9.1 · CVE disclosed
Published by phil.on on · Updated
THE FLAW, SIMPLY EXPLAINED

How this vulnerability works

A WordPress invoicing plugin handles shopper-entered text unsafely, so a crafted billing address can be treated as a program instruction when another installed add-on makes that instruction do something.

  1. How it starts

    Shopper text reaches the plugin

    A visitor places a guest checkout order and enters a crafted value in the billing address. This only matters when guest checkout is on and a payment method puts the order on hold, such as Direct Bank Transfer.

  2. What goes wrong

    Text is treated as an instruction

    The plugin fails to clean the billing address properly, so the special text is read as a program instruction instead of ordinary words. The 7.2.0 update only cleaned the customer note, not the billing address.

  3. What it means for you

    Other add-ons decide the damage

    The plugin alone has no known way to turn this into harm. If another installed plugin or theme contains a usable sequence of actions, the injected instruction could make it delete files, reveal private records, or run code.

An everyday comparisonIt is like a mailroom that usually just reads letters aloud. A stranger sends a letter written as an instruction to the staff, and while the mailroom alone would only read it out, a different office that follows such letters could carry out what it says.

A simplified explanation of the reported flaw. Actual risk depends on the affected version and how the system is used.

Affected products

  • PDF Invoice for WooCommerce + Drag and Drop Template Builder (WordPress plugin) — all versions from the initial release up to and including 7.2.0 (CVSS 3.1 base score: 9.1, vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H).
  • The 7.2.0 fix only escaped the customer note path; the billing address handling in woocommerce/shortcodes.php (lines 975–978) remains unpatched, so 7.2.0 is still affected.
  • Practical impact requires guest checkout to be enabled and a payment method that puts orders into on-hold status (such as the stock WooCommerce Direct Bank Transfer option), and an additional installed plugin or theme that contains a usable gadget chain (POP chain). No known gadget chain exists in this plugin itself.

Why it matters

This WordPress plugin, used to generate PDF invoices for WooCommerce shops, mishandles some text that shoppers can enter during checkout. In versions up to and including 7.2.0, a specially crafted value submitted through the billing address can make the plugin treat the text as a program instruction rather than plain text. In the official severity rating, this flaw is rated high (9.1).

On its own, the flaw does not let an outsider do anything: the source says there is no known way to abuse it using only this plugin. The danger appears when another installed plugin or theme happens to contain a usable sequence of actions the injected instruction can trigger. If such an extra component is present, an outside visitor could potentially cause the site to delete files, reveal sensitive data, or run code, depending on what that other component allows. Exploiting it also requires guest checkout to be switched on and a payment method that places orders in an on-hold state, such as the built-in Direct Bank Transfer option.

Checks and remediation

What to check

  1. In the WordPress admin, open Plugins and find "PDF Invoice for WooCommerce + Drag and Drop Template Builder". Note the installed version; any version up to and including 7.2.0 is affected.
  2. Confirm whether guest checkout is enabled in WooCommerce settings, and whether a payment method that places orders in an on-hold state (such as Direct Bank Transfer) is offered. Both conditions are required for the reported issue to be reachable.
  3. Inventory all other installed plugins and themes, since the practical impact depends on another component containing a usable gadget chain (POP chain). The source does not list any specific affected add-ons.
  4. If you cannot update immediately, consider disabling guest checkout and/or on-hold payment methods as a temporary reduction in exposure, and record the change so it can be reverted.

Remediation steps

  1. Self-hosted Ubuntu/Linux (or any WordPress host you manage): check for an updated plugin version from the vendor. The source does not confirm a fully fixed release; 7.2.0 still leaves the billing address path unpatched. If no fixed version is available, follow the vendor advisory and apply the reversible mitigation in step 4 above. Update via the WordPress admin plugin update screen or, for managed deployments, redeploy the updated plugin files or container image through your normal package and image pipeline.
  2. AWS: if the WordPress site runs on Amazon EC2 or in containers you manage, you are responsible for updating the plugin. Apply the vendor update or mitigation and redeploy the instance or image, then confirm the plugin version in the admin.
  3. GCP: if the site runs on Compute Engine or GKE under your control, you are responsible for the plugin update. Apply the vendor fix or mitigation, redeploy, and verify the installed version.
  4. Managed WordPress hosting or a partner-managed service: ask the provider whether the plugin has been updated and whether the billing-address issue is addressed, since you may not be able to patch it yourself.
  5. Watch the vendor advisory and the NVD and CVE Program records for a release that also fixes the billing address path.

Verification

  1. Reopen the Plugins screen and confirm the reported version is no longer in the affected range, or that the vendor confirms the billing address path is fixed.
  2. Confirm any temporary changes (guest checkout, on-hold payment methods) are either still intentionally in place or restored after a fix.
  3. Re-check that no unexplained administrative actions, file changes, or unexpected data access have occurred since the plugin was installed.

Patch status

Patch status unconfirmed.

Workarounds

Workaround not documented.

CVSS and CWE

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

Additional CVSS assessments by source and scope

References

SHARE THIS NOTE