CVE-2026-18027: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in webtoffee WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels
The WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels WordPress plugin contains a directory traversal vulnerability in the get_image_src_in_base64 function. This vulnerability affects all versions up to and including 4.9.8. Authenticated users with subscriber-level access or higher can exploit this flaw to read arbitrary files on the server. The contents of these files are base64-encoded and embedded into cached invoice HTML, which is then accessible through the plugin's Print/Download invoice endpoints. These endpoints require only a valid nonce and access key for access.
AI Analysis
Technical Summary
CVE-2026-18027 is a CWE-22 directory traversal vulnerability in the WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels WordPress plugin. The vulnerability exists in the get_image_src_in_base64 function and allows authenticated attackers with subscriber-level privileges or higher to read arbitrary files on the server. The attacker can retrieve base64-encoded file contents embedded in cached invoice HTML served via the plugin's Print/Download invoice endpoints, which require only a valid nonce and access key. This issue affects all versions up to and including 4.9.8.
Potential Impact
An attacker with subscriber-level access or higher can read arbitrary files on the server, potentially exposing sensitive information. The vulnerability does not allow modification or deletion of data, nor does it affect availability. The confidentiality impact is high, while integrity and availability impacts are none.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict subscriber-level access and monitor for suspicious activity related to invoice generation endpoints. Avoid exposing nonces and access keys unnecessarily.
CVE-2026-18027: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in webtoffee WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels
Description
The WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels WordPress plugin contains a directory traversal vulnerability in the get_image_src_in_base64 function. This vulnerability affects all versions up to and including 4.9.8. Authenticated users with subscriber-level access or higher can exploit this flaw to read arbitrary files on the server. The contents of these files are base64-encoded and embedded into cached invoice HTML, which is then accessible through the plugin's Print/Download invoice endpoints. These endpoints require only a valid nonce and access key for access.
CVSS v3.1
Score 6.5medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-18027 is a CWE-22 directory traversal vulnerability in the WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels WordPress plugin. The vulnerability exists in the get_image_src_in_base64 function and allows authenticated attackers with subscriber-level privileges or higher to read arbitrary files on the server. The attacker can retrieve base64-encoded file contents embedded in cached invoice HTML served via the plugin's Print/Download invoice endpoints, which require only a valid nonce and access key. This issue affects all versions up to and including 4.9.8.
Potential Impact
An attacker with subscriber-level access or higher can read arbitrary files on the server, potentially exposing sensitive information. The vulnerability does not allow modification or deletion of data, nor does it affect availability. The confidentiality impact is high, while integrity and availability impacts are none.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict subscriber-level access and monitor for suspicious activity related to invoice generation endpoints. Avoid exposing nonces and access keys unnecessarily.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-07-28T05:50:17.888Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a8a32c5acd9273b49a8cc60
Added to database: 08/22/2026, 23:37:41 UTC
Last enriched: 08/22/2026, 23:52:44 UTC
Last updated: 08/23/2026, 00:35:32 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.