Description
The Printcart Web to Print Product Designer for WooCommerce plugin for WordPress is vulnerable to Arbitrary File Deletion in versions up to, and including, 2.5.2 This is due to insufficient path validation in the store_design_data() function, which constructs a filesystem path from the user-supplied 'nbd_item_key' POST parameter sanitized only with sanitize_text_field() — which does not strip path traversal sequences — and then passes that path directly to Nbdesigner_IO::delete_folder() and PHP's rename(). The nonce protecting the nbd_save_customer_design AJAX action is freely obtainable by unauthenticated users via the nbd_check_use_logged_in endpoint. This makes it possible for unauthenticated attackers to delete arbitrary files on the affected site's server which may make remote code execution possible.
Published: 2026-07-03
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Printcart Web to Print Product Designer for WooCommerce is vulnerable to arbitrary file deletion in all versions up to 2.5.2. The flaw arises in the store_design_data() function, which builds a filesystem path from the user‑supplied 'nbd_item_key' POST parameter. Only sanitize_text_field fails to strip path‑traversal sequences, allowing a constructed path outside the intended directory. That path is then passed to delete_folder() and PHP's rename(), permitting deletion of any file on the web server. Additionally, the nonce that protects the nbd_save_customer_design AJAX action can be freely obtained by unauthenticated users via the nbd_check_use_logged_in endpoint, so an attacker can acquire the necessary token without authentication. Because arbitrary file deletion can remove or alter executables and critical configuration files, an unauthenticated attacker could potentially gain remote code execution.

Affected Systems

The affected vendor is Printcart, with the product Printcart Web to Print Product Designer for WooCommerce. All releases up to and including version 2.5.2 are impacted. The vulnerability is present whenever the plugin is installed without applying the patch delivered in version 2.5.3.

Risk and Exploitability

The CVSS score of 9.1 places the vulnerability in the Critical category. The EPSS score is < 1%, indicating a low probability of exploitation in the wild. Exploitation requires no authentication because the nonce needed for the nbd_save_customer_design action is exposed through the nbd_check. By first obtaining that nonce and then submitting a path‑traversal payload in the nbd_item_key parameter, an attacker can delete arbitrary files, including executables and configuration files, which may lead to remote code execution. The vulnerability is not listed in CISA’s KEV catalog; however, the straightforward nature and lack of authentication barriers make the risk significant.

Generated by OpenCVE AI on July 15, 2026 at 18:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Printcart Web to Print Product Designer for WooCommerce plugin to version 2.5.3 or later, where the path traversal check has been corrected.
  • If an upgrade cannot be performed immediately, block or disable unauthenticated access to the nbd_check_use_logged_in AJAX endpoint using a firewall rule or filesystem permissions for the directories that the plugin writes to, ensuring that the web server user does not have write access to critical system files, thereby reducing the impact of any remaining path traversal attempts.
  • Deploy a web application firewall rule to detect and block POST requests to the nbd_save_customer_design endpoint that contain path‑traversal sequences.

Generated by OpenCVE AI on July 15, 2026 at 18:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 06 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Printcart
Printcart printcart Web To Print Product Designer For Woocommerce
Wordpress
Wordpress wordpress
Vendors & Products Printcart
Printcart printcart Web To Print Product Designer For Woocommerce
Wordpress
Wordpress wordpress

Fri, 03 Jul 2026 05:30:00 +0000

Type Values Removed Values Added
Description The Printcart Web to Print Product Designer for WooCommerce plugin for WordPress is vulnerable to Arbitrary File Deletion in versions up to, and including, 2.5.2 This is due to insufficient path validation in the store_design_data() function, which constructs a filesystem path from the user-supplied 'nbd_item_key' POST parameter sanitized only with sanitize_text_field() — which does not strip path traversal sequences — and then passes that path directly to Nbdesigner_IO::delete_folder() and PHP's rename(). The nonce protecting the nbd_save_customer_design AJAX action is freely obtainable by unauthenticated users via the nbd_check_use_logged_in endpoint. This makes it possible for unauthenticated attackers to delete arbitrary files on the affected site's server which may make remote code execution possible.
Title Printcart Web to Print Product Designer for WooCommerce <= 2.5.2 - Unauthenticated Arbitrary File Deletion
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'}


Subscriptions

Printcart Printcart Web To Print Product Designer For Woocommerce
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-07T17:01:23.459Z

Reserved: 2026-05-27T16:25:00.857Z

Link: CVE-2026-9725

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-15T19:00:05Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')