Description
The WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 4.9.8 via the get_image_src_in_base64 function. This makes it possible for authenticated attackers, with subscriber-level access and above, to read the contents of arbitrary files on the server, which can contain sensitive information. The base64-encoded file contents are embedded into the cached invoice HTML and served directly to the attacker via the plugin's own Print/Download invoice endpoints, which require only a valid nonce and access key.
References6
- plugins.trac.wordpress.org/browser/print-invoices-packing-slip-…
- plugins.trac.wordpress.org/browser/print-invoices-packing-slip-…
- plugins.trac.wordpress.org/browser/print-invoices-packing-slip-…
- plugins.trac.wordpress.org/browser/print-invoices-packing-slip-…
- plugins.trac.wordpress.org/changeset/3646629/print-invoices-pac…
- www.wordfence.com/threat-intel/vulnerabilities/id/a46f270f-d9cb…
Metrics
- CVSS 3.1
-
6.5
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - EPSS — exploit probability
- 1% percentile: 59 · as of 9 November 2026
- CWE
- CWE-22
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.