Description
The YMC Filter plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'post_title' parameter in all versions up to, and including, 3.12.19 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The autocomplete REST endpoint is registered with a permission callback that unconditionally returns true, meaning any site visitor — including unauthenticated users — can trigger the payload simply by typing in the YMC filter search box, while only Author-level access is required to store it.
References7
- plugins.trac.wordpress.org/browser/ymc-smart-filter/tags/3.12.1…
- plugins.trac.wordpress.org/browser/ymc-smart-filter/tags/3.12.1…
- plugins.trac.wordpress.org/browser/ymc-smart-filter/tags/3.12.1…
- plugins.trac.wordpress.org/browser/ymc-smart-filter/tags/3.12.1…
- plugins.trac.wordpress.org/browser/ymc-smart-filter/tags/3.12.2…
- wordpress.org/plugins/ymc-smart-filter
- www.wordfence.com/threat-intel/vulnerabilities/id/27cfa62d-ba16…
Metrics
- CVSS 3.1
-
6.4
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N - EPSS — exploit probability
- 0% percentile: 12 · as of 10 November 2026
- CWE
- CWE-79
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.