PT-2026-134444
CVE-2026-110251
·
Published
2026-10-31
·
Updated
2026-10-31
Description by
CVSS 3.1
5.4
MediumMetricsAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
The Photo Reviews for WooCommerce plugin for WordPress is vulnerable to unauthorized Media Library File Deletion in all versions up to, and including, 1.2.31. This is due to the
delete reviews image() function's delete comment hook trusting attachment IDs supplied via the wcpr image upload id POST parameter that were stored in comment meta without any ownership or capability check — viwcpr filter review image ids() verifies only that each submitted ID refers to an attachment post type, not that the submitter uploaded or owns it. This makes it possible for unauthenticated attackers to permanently delete any WordPress media library attachment — including its files on disk as recorded by wp delete attachment() — by embedding attacker-chosen attachment IDs into a review comment, then waiting for a moderator to remove the review or for WordPress core's wp scheduled delete cron to purge it after EMPTY TRASH DAYS. The nonce required to submit the parameter (wcpr image upload) is a shared public value printed on every product page for guest commenters and does not function as an authentication barrier, making this trivially exploitable without any account. Found an issue in the description? Have something to add? Feel free to write us 👾