Skip to main content

WebToffee PDF Invoices CVE-2026-18027

| EUVDEUVD-2026-64606 MEDIUM
Path Traversal (CWE-22)
2026-08-23 security@wordfence.com GHSA-7r74-667v-4q77
6.5
CVSS 3.1 · Vendor: wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Register or obtain subscriber-level WordPress account
  2. Delivery
    Place order to acquire valid invoice nonce and access key
  3. Exploit
    Craft traversal path targeting sensitive file (e.g., wp-config.php)
  4. Execution
    Submit request to Print/Download invoice endpoint
  5. Persist
    Receive base64-encoded file contents embedded in invoice HTML
  6. Impact
    Decode and extract credentials or secrets

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid WordPress account with at minimum subscriber-level access, which is the lowest registered user role and is automatically granted to any user who completes WooCommerce account registration or checkout on a public store. The attacker also needs a valid nonce and access key for the plugin's Print/Download invoice endpoints, which are generated per-session and accessible to any authenticated user associated with an order. The WebToffee PDF Invoices plugin must be installed and active at version 4.9.8 or earlier. No administrator, editor, or shop-manager privileges are required. Exploitation is NOT possible by completely unauthenticated visitors - any site with closed user registration (invitation-only, manual approval, or registration disabled) significantly limits the attack surface. No special server configuration or non-default WordPress setting is required beyond the plugin being active. The high confidentiality impact is limited to files readable by the web server process; files with restricted OS permissions (e.g., /etc/shadow on hardened systems) may not be accessible.

Impact

The CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N vector is well-calibrated to this vulnerability's real-world profile. The network attack vector and low complexity reflect that exploitation requires only a crafted parameter value sent over HTTP. PR:L accurately captures that subscriber-level access - the default role granted to any user who registers on a WooCommerce store - is sufficient. The high confidentiality impact is justified by the potential to read wp-config.php (exposing database credentials and WordPress secret keys), private SSL certificates, environment files, or any file readable by the web server process. No EPSS score or KEV listing was provided in the intelligence feed; these signals are absent rather than confirmed negative. No public proof-of-concept has been identified at time of analysis. Despite the lack of active exploitation confirmation, this vulnerability should not be deprioritized: the attack surface is wide on any WooCommerce store with open user registration, exploitation is mechanically simple, and the potential yield (database credentials enabling full site compromise) is disproportionate to the CVSS 6.5 medium rating. The indirect exfiltration via invoice caching is a noteworthy evasion characteristic that may limit detection by traditional file-access monitoring.

Exploit ScenarioDerived

An attacker registers a free customer account on a WooCommerce store (or uses existing low-privilege credentials), places a minimal order to obtain a valid invoice nonce and access key, then submits a crafted request to the plugin's Print/Download invoice endpoint with a traversal path such as ../../wp-config.php supplied to the image source parameter processed by get_image_src_in_base64. The server reads and base64-encodes wp-config.php, embeds it in the invoice HTML cache, and returns it through the plugin's own endpoint - yielding the database hostname, username, password, and WordPress secret keys to the attacker. No public proof-of-concept code has been identified at time of analysis, but the attack path is mechanically straightforward given the described behavior.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.9% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 23, 2026

Directory traversal in WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels plugin (all versions ≤ 4.9.8) allows subscriber-level authenticated attackers to read arbitrary server files via the get_image_src_in_base64 function. The exfiltration channel is particularly stealthy: base64-encoded file contents are embedded into cached invoice HTML and retrieved through the plugin's own legitimate Print/Download endpoints using only a valid nonce and access key, potentially bypassing WAF rules that inspect request paths. No public exploit or CISA KEV listing is identified at time of analysis; however, the trivially low privilege bar - any registered WooCommerce customer qualifies - combined with high-value targets like wp-config.php credentials makes this an operational priority for any public-facing WooCommerce store.

RemediationAI

An upstream fix has been committed to the WordPress plugin SVN repository as changeset 3646629 (https://plugins.trac.wordpress.org/changeset/3646629/print-invoices-packing-slip-labels-for-woocommerce); however, the specific plugin release version incorporating this fix is not confirmed from the available data - administrators should consult the plugin's changelog on WordPress.org and update to the version that includes this changeset immediately upon release. As an immediate compensating control, disabling open subscriber/customer registration eliminates the primary attack path if public registration is not operationally required; this carries the trade-off of preventing new customer account creation on the storefront. Administrators unable to update or restrict registration should consider temporarily deactivating the plugin if PDF invoice functionality is non-critical, as this fully removes the attack surface. Server-side file access and web server logs should be reviewed for anomalous invoice print or download requests containing traversal patterns (../, %2e%2e, encoded slashes) targeting sensitive paths. The Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/a46f270f-d9cb-4bc1-8e10-3fc6646e1d78 should be monitored for patched version confirmation.

Affected VersionsENISA

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

Affected Packages

euvd webtoffee_woocommerce_pdf_invoices_packing_slips_delivery_notes_shipping_labels no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is a classic CWE-22 (Path Traversal) failure in the get_image_src_in_base64 function, which is responsible for resolving and encoding image files referenced in invoice templates. Source code references confirm the flaw spans multiple files in the plugin's 4.9.8 tag: the customizer module at class-customizer.php line 1453 and customizer.php lines 1561 and 1607, as well as the invoice rendering module at invoice.php line 1934. The function accepts a file path - likely an image source from a template or invoice field - without sufficient sanitization, allowing an attacker to supply path traversal sequences (e.g., ../../wp-config.php) to escape the plugin's intended directory. The resolved file is read, base64-encoded, and cached within the invoice HTML document, which is then delivered to the requester via the plugin's Print/Download endpoint. This endpoint requires only a valid nonce and access key rather than elevated WordPress roles, meaning the exfiltrated content is served back to a low-privilege attacker through an entirely legitimate plugin workflow. The WordPress plugin repository changeset 3646629 represents the upstream fix commit.

Know when Wordpress Plugin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (wordfence) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

Network path traversal via plugin HTTP endpoint; subscriber credentials sufficient; pure read impact with no write or availability consequence.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (wordfence).

CVSS VectorVendor: wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.9%
Top 44% exploitable
Prevalence
Medium
Popular WooCommerce add-on serving e-commerce invoice workflows globally.
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.9%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

33
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy