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

The Printcart Web to Print Product Designer for WooCommerce plugin for WordPress is vulnerable to an arbitrary file deletion flaw in all releases up to and including version 2.5.2. The vulnerability stems from insufficient path validation in the store_design_data() function, where a user‑supplied 'nbd_item_key' POST parameter is sanitised only with sanitize_text_field()—which does not strip path‑traversal sequences—before being concatenated into a filesystem path. That path is then passed directly to Nbdesigner_IO::delete_folder() and PHP's rename() functions, allowing an attacker to delete any file on the server. By removing or altering critical files, an attacker could potentially create conditions that lead to remote code execution; this possibility is inferred from the description, as the plugin may execute arbitrary PHP code stored under the shop’s file system. The vulnerability is a CWE‑22 (Path Traversal).

Affected Systems

The Printcart Web to Print Product Designer for WooCommerce plugin developed by printcart. Versions 2.5.2 and all earlier releases are susceptible to the flaw.

Risk and Exploitability

CVSS score 9.1 indicates a high‑severity vulnerability, while EPSS < 1% indicates a low but non‑zero probability of exploitation in the wild. The nonce that protects the nbd_save_customer_design AJAX action can be obtained via the publicly available nbd_check_use_logged_in endpoint, enabling unauthenticated attackers to obtain a valid nonce. An attacker can then send a crafted POST request to nbd_save_customer_design containing a path‑traversal payload and the acquired nonce to delete arbitrary files on the server. Because this action does not require authentication and could allow removal of key files, it may set the stage for remote code execution, though this chain is inferred rather than confirmed. The exploit is not listed in CISA’s KEV catalog.

Generated by OpenCVE AI on August 1, 2026 at 20:50 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 vulnerability has been fixed.
  • Block or disable unauthenticated access to the nbd_check_use_logged_in AJAX endpoint using a firewall rule or .htaccess restrictions to prevent attackers from obtaining nonces.
  • 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 August 1, 2026 at 20:50 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

Status : Deferred

Published: 2026-07-03T06:16:23.263

Modified: 2026-07-07T18:16:40.690

Link: CVE-2026-9725

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T21:00:08Z

Weaknesses
  • CWE-22

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