CVE-2026-9725
Deferred Deferred - Pending Action

Arbitrary File Deletion in Printcart Web to Print Product Designer for WooCommerce

Vulnerability report for CVE-2026-9725, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-03

Last updated on: 2026-07-07

Assigner: Wordfence

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-03
Last Modified
2026-07-07
Generated
2026-07-23
AI Q&A
2026-07-03
EPSS Evaluated
2026-07-22
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
printcart web_to_print_product_designer to 2.5.2 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The vulnerability exists in the Printcart Web to Print Product Designer plugin for WooCommerce on WordPress, specifically in versions up to and including 2.5.2.

It is caused by insufficient path validation in the store_design_data() function, which uses a user-supplied 'nbd_item_key' POST parameter that is only sanitized with sanitize_text_field(). This sanitization does not remove path traversal sequences.

As a result, an attacker can manipulate the file path and cause arbitrary file deletion on the server by exploiting the Nbdesigner_IO::delete_folder() and PHP's rename() functions.

Additionally, the nonce protecting the nbd_save_customer_design AJAX action can be obtained by unauthenticated users via the nbd_check_use_logged_in endpoint, allowing unauthenticated attackers to perform these actions.

Detection Guidance

Detection of this vulnerability involves checking if the Printcart Web to Print Product Designer for WooCommerce plugin is installed and running a version up to and including 2.5.2.

Since the vulnerability exploits the 'nbd_save_customer_design' AJAX action with a nonce obtainable via the 'nbd_check_use_logged_in' endpoint, monitoring for unusual POST requests to these endpoints may help detect exploitation attempts.

Commands to detect the vulnerable plugin version on your WordPress installation could include:

  • Using WP-CLI to check plugin version: wp plugin list --status=active | grep printcart
  • Searching plugin files for the vulnerable function: grep -r 'store_design_data' wp-content/plugins/printcart-web-to-print-product-designer/
  • Monitoring web server logs for POST requests to 'wp-admin/admin-ajax.php' with action=nbd_save_customer_design or calls to 'nbd_check_use_logged_in' endpoint.
Impact Analysis

This vulnerability allows unauthenticated attackers to delete arbitrary files on the affected website's server.

Such arbitrary file deletion can lead to denial of service by removing critical files, and potentially enable remote code execution if important files are deleted or manipulated.

The CVSS score of 9.1 indicates a high severity impact with low attack complexity and no privileges or user interaction required.

Mitigation Strategies

Immediate mitigation steps include updating the Printcart Web to Print Product Designer for WooCommerce plugin to a version later than 2.5.2 where this vulnerability is fixed.

If an update is not immediately available, restrict access to the vulnerable AJAX endpoints by implementing authentication or IP-based restrictions to prevent unauthenticated attackers from obtaining the nonce.

Additionally, monitor and audit server logs for suspicious activity related to file deletion or unexpected POST requests targeting the vulnerable endpoints.

Consider applying web application firewall (WAF) rules to block path traversal attempts and unauthorized AJAX calls.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-9725. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart