# Print Invoice & Delivery Notes for WooCommerce <= 7.3.0 - Unauthenticated Path Traversal via Template Key

- **ID:** WPSEC-2026-3376
- **Plugin:** Print Invoice & Delivery Notes for WooCommerce (`woocommerce-delivery-notes`), https://wordpress.org/plugins/woocommerce-delivery-notes/
- **Affected versions:** from 7.0.0 before 7.4.0
- **Fixed in:** 7.4.0 (Update to 7.4.0 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-22
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-18)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/woocommerce-delivery-notes
- **Fix released:** 2026-11-17
- **Published:** 2026-11-18
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3376/

## Description

The Print Invoice & Delivery Notes for WooCommerce plugin for WordPress is vulnerable to Path Traversal via the document template key in all versions up to, and including, 7.3.0, due to the key being placed into the PDF storage directory path without being checked against the registered templates. This makes it possible for unauthenticated attackers to write an empty index.html file and a directory-listing .htaccess file into existing directories outside the plugin's uploads folder, which can replace an existing .htaccess file that denies access, when PDF generation is enabled.

## References

- https://wpsec.com/vuln/WPSEC-2026-3376/
- https://plugins.svn.wordpress.org/woocommerce-delivery-notes/tags/7.4.0/
- https://wordpress.org/plugins/woocommerce-delivery-notes/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3376/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
