A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
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 products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- downloads.wordpress.org /plugin/pdf-for-woocommerce.7.2.0.zip
- plugins.trac.wordpress.org /browser/pdf-for-woocommerce/tags/7.1.1/frontend/index.php
- plugins.trac.wordpress.org /browser/pdf-for-woocommerce/tags/7.1.1/libs/HtmlDocument.p…
- plugins.trac.wordpress.org /browser/pdf-for-woocommerce/tags/7.1.1/libs/HtmlNode.php
- plugins.trac.wordpress.org /browser/pdf-for-woocommerce/tags/7.1.1/vendor/mpdf/mpdf/sr…
- plugins.trac.wordpress.org /browser/pdf-for-woocommerce/tags/7.1.1/woocommerce/emails/…
- plugins.trac.wordpress.org /browser/pdf-for-woocommerce/tags/7.1.1/woocommerce/shortco…
- www.wordfence.com /threat-intel/vulnerabilities/id/1bc3529c-6161-4b89-8a35-c3…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning