CVE-2026-7651
Description
The User Registration & Membership – Free & Paid Memberships, Subscriptions, Content Restriction, User Profile, Custom User Registration & Login Builder plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 5.1.5. This is due to missing ownership validation on a user-controlled attachment ID, allowing the plugin to store and subsequently delete arbitrary media attachments without verifying that the referenced attachment belongs to the requesting user. This makes it possible for authenticated attackers, with subscriber-level access and above, to permanently delete arbitrary media attachments uploaded by any other user, including administrators.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
The User Registration & Membership plugin <=5.1.5 lacks ownership validation on attachment IDs, allowing authenticated subscribers to delete arbitrary media files.
Vulnerability
The User Registration & Membership – Free & Paid Memberships, Subscriptions, Content Restriction, User Profile, Custom User Registration & Login Builder plugin for WordPress is vulnerable to Insecure Direct Object Reference (IDOR) in all versions up to and including 5.1.5. The plugin fails to validate that an attachment ID submitted by a user belongs to that user when storing and subsequently deleting media attachments. This is due to missing ownership checks on a user-controlled attachment ID in the file handling routines, as seen in references [1], [2], [3], and [4].
Exploitation
An authenticated attacker with subscriber-level access or above can exploit this vulnerability by sending a crafted request that includes an attachment ID belonging to another user (including administrators). The attacker does not need any special privileges beyond a subscriber account. The plugin will accept the attachment ID and later delete the corresponding media file without verifying ownership, leading to permanent removal of the attachment.
Impact
Successful exploitation allows an authenticated attacker to permanently delete arbitrary media attachments uploaded by any other user, including those uploaded by administrators. This results in loss of data (integrity and availability) and can disrupt site content or user-uploaded files. The vulnerability does not disclose information or allow code execution, but the destructive effect on files can be significant for sites relying on media uploads.
Mitigation
The vulnerability has been patched in version 5.2.0, as indicated by the changeset in reference [4]. Users should update to version 5.2.0 or later immediately. No workaround is available for versions prior to 5.2.0. The plugin is not known to be listed in CISA's Known Exploited Vulnerabilities (KEV) catalog as of the publication date.
- https://plugins.trac.wordpress.org/browser/user-registration/trunk/includes/functions-ur-core.php#L4262
- https://plugins.trac.wordpress.org/browser/user-registration/trunk/includes/frontend/class-ur-frontend.php#L114
- https://plugins.trac.wordpress.org/browser/user-registration/trunk/includes/frontend/class-ur-frontend.php#L86
- https://plugins.trac.wordpress.org/changeset/3539426/user-registration/tags/5.2.0/includes/frontend/class-ur-frontend.php
AI Insight generated on May 28, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2<=5.1.5+ 1 more
- (no CPE)range: <=5.1.5
- (no CPE)range: <=5.1.5
Patches
1r3539426Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- plugins.trac.wordpress.org/browser/user-registration/trunk/includes/frontend/class-ur-frontend.phpnvd
- plugins.trac.wordpress.org/browser/user-registration/trunk/includes/frontend/class-ur-frontend.phpnvd
- plugins.trac.wordpress.org/browser/user-registration/trunk/includes/functions-ur-core.phpnvd
- plugins.trac.wordpress.org/changeset/3539426/user-registration/tags/5.2.0/includes/frontend/class-ur-frontend.phpnvd
- www.wordfence.com/threat-intel/vulnerabilities/id/0def7637-edf4-4ae2-a2e7-31ccb3b52d71nvd
News mentions
0No linked articles in our index yet.