CVE-2026-110251 Details
Description
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.
A vulnerability exists in the Photo Reviews for WooCommerce plugin for WordPress, allowing unauthorized deletion of media library files. This issue affects all versions up to and including 1.2.31. The vulnerability arises because the 'delete_reviews_image()' function's 'delete_comment' hook accepts attachment IDs from the 'wcpr_image_upload_id' POST parameter without proper ownership or capability checks. Instead, it relies on a function that only verifies the IDs as valid attachment types. As a result, unauthenticated users can delete any media attachment by inserting chosen attachment IDs into a review comment. The deletion is processed either when a moderator removes the review or when WordPress's scheduled delete cron job purges the comment after the trash has been emptied.
Users are advised to update the Photo Reviews for WooCommerce plugin to version 1.2.32 or later.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 31, 2026CISA-ADP
Assessed Nov 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| VillaTheme Photo Reviews for WooCommerce | <= 1.2.31 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 6, 2026 | CVE Modified | CISA-ADP |
| Oct 31, 2026 | New CVE Received | [email protected] |
Volerion