Unauthenticated file deletion in Photo Reviews for WooCommerce
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · Low
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
The Photo Reviews for WooCommerce plugin for WordPress is affected in all versions up to and including 1.2.31. The delete_reviews_image() function trusts attachment IDs stored in review comments without checking ownership, which is an improper limitation of a pathname to a restricted directory (CWE-22). An unauthenticated attacker can permanently delete any media library attachment and its files through review comments, because the nonce required for submission is publicly printed on product pages.
Written with Claude Haiku 5.5 from the sources below · 2026-11-05
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| VillaTheme | Revopic – Photo Reviews for WooCommerce | up to 1.2.31 | — | No fix listed | CNA |
- Revopic – Photo Reviews for WooCommerce VendorVillaTheme Affected up to 1.2.31 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for Photo Reviews for WooCommerce.
Written with Claude Haiku 5.5 from the sources below · 2026-11-05
Timeline
- 2026-10-31 Threatist record created from CVE-2026-110251
- 2026-10-31 Alias added: GHSA-qm3q-4mg3-2277
- 2026-11-01 Priority changed: MEDIUM → LOW
- 2026-11-06 CISA SSVC decision points changed
References
Other 6
- https://www.wordfence.com/threat-intel/vulnerabilities/id/b9a4d8f9-7b25-4c31-8457-2cb45bd17150?source=cve
- https://plugins.trac.wordpress.org/browser/woo-photo-reviews/trunk/admin/admin.php#L2403
- https://plugins.trac.wordpress.org/browser/woo-photo-reviews/trunk/frontend/frontend.php#L1267
- https://plugins.trac.wordpress.org/browser/woo-photo-reviews/trunk/frontend/frontend.php#L1232
- https://plugins.trac.wordpress.org/browser/woo-photo-reviews/trunk/includes/functions.php#L84
- https://wordpress.org/plugins/woo-photo-reviews/
More VillaTheme vulnerabilities
- TI-2026-70509 PHP object injection in AFFI affiliate marketing WooCommerce plugin CVSS 3.1CRITICAL 9.8
- TI-2025-31420 WordPress HAPPY plugin <= 1.0.7 - Remote Code Execution (RCE) vulnerability CVSS 3.1CRITICAL 10.0
- TI-2023-03903 Orders Tracking for WooCommerce < 1.2.6 - Admin+ Arbitrary File Access/Read CVSS 3.1LOW 2.7
- TI-2026-39612 WordPress GIFT4U plugin <= 1.0.10 - SQL Injection vulnerability CVSS 3.1CRITICAL 9.3
- TI-2024-07673 WooCommerce Photo Reviews Premium <= 1.3.13.2 - Authentication Bypass to Account Takeover and Privilege Escalation CVSS 3.1CRITICAL 9.8
- TI-2026-56422 WordPress Thank You Page Customizer for WooCommerce plugin <= 1.2.2 - Broken Access Control vulnerability CVSS 3.1HIGH 7.5
Sources
- CVE-2026-110251 · CVE Program
- CVE-2026-110251 · NVD
- FIRST EPSS
- GHSA-qm3q-4mg3-2277 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences