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 up to version 4.9.8 contains a directory traversal vulnerability. Authenticated users with subscriber-level access or higher can exploit this flaw via the get_image_src_in_base64 function to read arbitrary files on the server. The plugin embeds base64-encoded file contents into cached invoice HTML, which is accessible through Print/Download invoice endpoints requiring only a valid nonce and access key.
CVSS v3.1
Score 6.5medium
Affected software
webtoffee
WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-18027 is a directory traversal vulnerability (CWE-22) in the WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels plugin for WordPress. Versions up to and including 4.9.8 are affected. The vulnerability exists in the get_image_src_in_base64 function, allowing authenticated attackers with subscriber-level privileges or higher to read arbitrary files on the server. The contents of these files are base64-encoded and embedded into cached invoice HTML, which can be retrieved via the plugin's Print/Download invoice endpoints. These endpoints require a valid nonce and access key but do not restrict file access properly, enabling exposure of sensitive server files.
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 files, nor denial of service, but compromises confidentiality of server data. The attack requires authentication but only low privileges and no user interaction beyond valid nonce and access key.
Mitigation Recommendations
No official patch or fix information is provided in the vendor advisory or input data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict subscriber-level access where possible and monitor for suspicious activity involving invoice download endpoints. Consider disabling or restricting use of the affected plugin if feasible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-07-28T05:50:17.888Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a8a32c5acd9273b49a8cc60
Added to database: 08/22/2026, 23:37:41 UTC
Last enriched: 09/10/2026, 23:48:04 UTC
Last updated: 10/05/2026, 06:48:14 UTC
Views: 73
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.