# YMC Filter <= 3.12.20 - Unauthenticated Sensitive Information Exposure via Posts Filter Search

- **ID:** WPSEC-2026-1260
- **Plugin:** YMC Filter (`ymc-smart-filter`), https://wordpress.org/plugins/ymc-smart-filter/
- **Affected versions:** all versions before 3.12.21
- **Fixed in:** 3.12.21 (Update to 3.12.21 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-20)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/ymc-smart-filter
- **Fix released:** 2026-10-18
- **Published:** 2026-10-20
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1260/

## Description

The YMC Filter plugin for WordPress is vulnerable to Sensitive Information Exposure via the keyword search of the posts/filter REST endpoint in all versions up to, and including, 3.12.20, due to the meta-field search condition being appended to the end of the query's WHERE clause as an unparenthesised 'OR pm.meta_value LIKE' condition, which overrides the post status and other query restrictions. This makes it possible for unauthenticated attackers to retrieve draft, private, and other non-published posts and revisions whose meta values match a search term, on grids where meta-field search is enabled.

## References

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

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

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.
