Easy Property Listings <= 3.5.28 - Authenticated (Contributor+) SQL Injection via 'post_type' Shortcode Attribute
- ID
- WPSEC-2026-2957
- Plugin
- Easy Property Listings (easy-property-listings)
- Affected
- from 3.2 before 3.5.29
- Remediation
- Update to 3.5.29 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weakness
- CWE-89
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-12
- Attack surface
- Easy Property Listings on WPSec AttackSurface
- Fix released
- Published
Description
The Easy Property Listings plugin for WordPress is vulnerable to SQL Injection via the 'post_type' attribute of the [listing_search] shortcode in all versions up to, and including, 3.5.28. This is due to insufficient escaping of the user-supplied value and insufficient preparation of the existing SQL query: the epl_get_unique_post_meta_values() and epl_get_meta_values() functions pass post type values only through sanitize_text_field, which does not remove quotes, and then concatenate them into an IN() clause outside of $wpdb->prepare(). This makes it possible for authenticated attackers, with Contributor-level access and above, to append additional SQL queries to already existing queries that can be used to extract sensitive information from the database.
References
- https://wpsec.com/vuln/WPSEC-2026-2957/
- https://plugins.svn.wordpress.org/easy-property-listings/tags/3.5.29/
- https://wordpress.org/plugins/easy-property-listings/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS