# Essential Real Estate <= 5.3.4 - Unauthenticated Arbitrary Email Sending via Contact Agent Form

- **ID:** WPSEC-2026-2161
- **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.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-284
- **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-2161/

## Description

The Essential Real Estate plugin for WordPress is vulnerable to arbitrary email sending via the contact agent form (ere_contact_agent_ajax AJAX action) in all versions up to, and including, 5.3.4, due to the plugin accepting any user-supplied 'target_email' value without checking that it belongs to an agent, agency or property contact, and using the user-supplied sender name and email in the From header. This makes it possible for unauthenticated attackers to make the site send emails with attacker-controlled content and a spoofed sender to arbitrary recipients.

## References

- https://wpsec.com/vuln/WPSEC-2026-2161/
- 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-2161/

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.
