Skip to main content
EPSS 0.9%top 43%

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

0
Medium
Published: 08/22/2026 (08/22/2026, 23:27:19 UTC)
Source: CVE Database V5
Vendor/Project: webtoffee
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected software

webtoffee

WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels

Affected versions
>=0 <=4.9.8

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 23:48:04 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses