# YMC Filter <= 3.12.19 - Unauthenticated Sensitive Information Exposure via Search Autocomplete REST Endpoint

- **ID:** WPSEC-2026-1201
- **Plugin:** YMC Filter (`ymc-smart-filter`), https://wordpress.org/plugins/ymc-smart-filter/
- **Affected versions:** all versions before 3.12.20
- **Fixed in:** 3.12.20 (Update to 3.12.20 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
- **Weakness:** CWE-200
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-10-17)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/ymc-smart-filter
- **Fix released:** 2026-10-16
- **Published:** 2026-10-17
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1201/

## Description

The YMC Filter plugin for WordPress is vulnerable to Sensitive Information Exposure via the search/autocomplete REST endpoint in all versions up to, and including, 3.12.19, due to the meta-field search condition being appended to the query's WHERE clause as an unscoped 'OR pm.meta_value LIKE' condition. That condition bypassed the query's post status and post type restrictions. This makes it possible for unauthenticated attackers to retrieve the titles and the content or meta fragments of draft, private and revision posts, and of posts of other post types, that match a search keyword, on sites where a filter grid has meta-field search enabled.

## References

- https://wpsec.com/vuln/WPSEC-2026-1201/
- https://plugins.svn.wordpress.org/ymc-smart-filter/tags/3.12.20/
- https://wordpress.org/plugins/ymc-smart-filter/

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

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.
