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.
Description as published by the source, in English.
Key facts
Published
2026-07-03
Last modified
2026-07-07
Assigned by
security@wordfence.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Scored by
security@wordfence.com
Probability of exploitation
0.7 %
higher than 51 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources
Affected products
Vendor
Product
Versions
Status
printcart
Printcart Web to Print Product Designer for WooCommerce
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 ele…