Read the docs

Unauthenticated file deletion in Photo Reviews for WooCommerce

Priority LOW 24CWE-22Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00316 24th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
VillaThemeRevopic – Photo Reviews for WooCommerceup to 1.2.31—No fix listedCNA
  • 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

  1. 2026-10-31 Threatist record created from CVE-2026-110251
  2. 2026-10-31 Alias added: GHSA-qm3q-4mg3-2277
  3. 2026-11-01 Priority changed: MEDIUM → LOW
  4. 2026-11-06 CISA SSVC decision points changed

References

  • 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
See all 82 →

Sources