# Essential Real Estate <= 5.3.4 - Authenticated (Customer+) Arbitrary Attachment Deletion via Property Form

- **ID:** WPSEC-2026-2162
- **Plugin:** Essential Real Estate (`essential-real-estate`), https://wordpress.org/plugins/essential-real-estate/
- **Affected versions:** all versions before 5.3.5
- **Fixed in:** 5.3.5 (Update to 5.3.5 or later.)
- **Severity:** Medium 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L)
- **Weakness:** CWE-639
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-10-31)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/essential-real-estate
- **Fix released:** 2026-10-30
- **Published:** 2026-10-31
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2162/

## Description

The Essential Real Estate plugin for WordPress is vulnerable to arbitrary attachment deletion via the front-end property form in all versions up to, and including, 5.3.4, due to missing ownership validation of the attachment IDs submitted in 'property_image_ids' and 'property_attachment_ids' and of the attachments removed by the remove_property_attachment_ajax() and delete_property_attachments() functions. This makes it possible for authenticated attackers, with ERE Customer-level access and above, to add other users' media attachments to their own property and then delete them, removing arbitrary media from the site's library.

## References

- https://wpsec.com/vuln/WPSEC-2026-2162/
- https://plugins.svn.wordpress.org/essential-real-estate/tags/5.3.5/
- https://wordpress.org/plugins/essential-real-estate/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-2162/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
