Security mailing lists by PureSourceCode

CVE-2026-110251

MEDIUM 5.4CVSS 3.1

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.

Published
31 Oct 2026
Last modified
6 Nov 2026
Assigned by
security@wordfence.com
NVD status
Deferred
Weakness
CWE-22
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@wordfence.com (Secondary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L

References

History

  • 25 Nov 2026 21:23 UTC ยท NVD: first stored (published 31 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.