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.
Published: 2026-08-22
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary File Read
Action: Patch Now
AI Analysis

Impact

The vulnerability is a directory traversal flaw in the get_image_src_in_base64 function of the WebToffee WooCommerce PDF Invoices plugin. An authenticated user with subscriber-level or higher access can supply a specially crafted customer_note parameter that causes the plugin to read any file on the server. The plugin then base‑encodes the file contents, embeds them into a cached invoice page and serves the page through its Print/Download endpoints, which only require a valid nonce and access key. This allows the attacker to read arbitrary files containing sensitive data, resulting in a confidentiality breach.

Affected Systems

All installations of the WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels plugin for WordPress up to and including version 4.9.8 are affected. The issue exists in the core plugin code referenced in the source paths. No other product versions are listed.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate severity. Exploitation requires the attacker to have authenticated subscriber-level credentials and to be able to supply a nonce and access key for the invoice endpoints. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Because the attacker can read arbitrary files, the impact could be significant if sensitive files are accessed, but the lack of a publicly available exploit reduces immediate risk. Monitoring access and patching remains prudent.

Generated by OpenCVE AI on August 23, 2026 at 00:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the plugin to version 4.9.9 or later to eliminate the directory traversal logic.
  • Restrict subscriber role privileges or disable subscriber-level access to the invoice generation endpoints, allowing only administrators to print or download invoices.
  • Deploy a web application firewall rule that blocks directory traversal patterns such as "../" in the customer_note parameter, or that denies non-admin access to the plugin’s Print/Download invoice URLs.
  • Ensure server file system permissions prevent the web server user from reading sensitive files that could be accessed via the vulnerability.

Generated by OpenCVE AI on August 23, 2026 at 00:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 24 Aug 2026 21:15:00 +0000

Type Values Removed Values Added
First Time appeared Webtoffee
Webtoffee woocommerce Pdf Invoices, Packing Slips, Delivery Notes And Shipping Labels
Wordpress
Wordpress wordpress
Vendors & Products Webtoffee
Webtoffee woocommerce Pdf Invoices, Packing Slips, Delivery Notes And Shipping Labels
Wordpress
Wordpress wordpress

Mon, 24 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 22 Aug 2026 23:45:00 +0000

Type Values Removed Values Added
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.
Title WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels <= 4.9.8 - Authenticated (Subscriber+) Arbitrary File Read via 'customer_note' Parameter
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

Webtoffee Woocommerce Pdf Invoices, Packing Slips, Delivery Notes And Shipping Labels
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-08-24T13:01:19.729Z

Reserved: 2026-07-28T05:50:17.888Z

Link: CVE-2026-18027

cve-icon Vulnrichment

Updated: 2026-08-24T12:51:26.596Z

cve-icon NVD

Status : Deferred

Published: 2026-08-23T00:16:50.370

Modified: 2026-08-24T16:41:13.950

Link: CVE-2026-18027

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-24T21:00:12Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')