🔐 CVE Alert

CVE-2026-110251

MEDIUM 5.4

Photo Reviews for WooCommerce <= 1.2.31 - Unauthenticated File Deletion via 'wcpr_image_upload_id' Parameter

CVSS Score
5.4
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-22
Vendor villatheme
Product revopic – photo reviews for woocommerce
Published Oct 31, 2026
Stay Ahead of the Next One

Get instant alerts for villatheme revopic – photo reviews for woocommerce

Be the first to know when new medium vulnerabilities affecting villatheme revopic – photo reviews for woocommerce are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

villatheme / Revopic – Photo Reviews for WooCommerce
0 ≤ 1.2.31

References

NVD ↗ CVE.org ↗ EPSS Data ↗
wordfence.com: https://www.wordfence.com/threat-intel/vulnerabilities/id/b9a4d8f9-7b25-4c31-8457-2cb45bd17150?source=cve plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/woo-photo-reviews/trunk/admin/admin.php#L2403 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/woo-photo-reviews/trunk/frontend/frontend.php#L1267 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/woo-photo-reviews/trunk/frontend/frontend.php#L1232 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/woo-photo-reviews/trunk/includes/functions.php#L84 wordpress.org: https://wordpress.org/plugins/woo-photo-reviews/

Credits

Kuba