Description
The YMC Filter WordPress plugin before 3.12.8 does not sanitize and escape a layout builder setting before outputting it on a public endpoint, and does not verify object ownership when the setting is saved, allowing users with the Contributor role and above to store JavaScript that executes in the browser of any visitor viewing an affected filter.
Published: 2026-08-08
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The YMC Filter WordPress plugin, versions earlier than 3.12.8, fails to sanitize or escape a layout builder setting before rendering it on a public endpoint. It also neglects to verify that the user creating or updating the setting has ownership rights. As a result, any user who holds the Contributor role or higher can embed arbitrary JavaScript into that setting. When a site visitor loads a page that displays the affected filter, the injected script executes in the visitor’s browser, enabling attackers to steal cookies, deface the site, or perform phishing attacks. This is a stored cross‑site scripting flaw that also includes a privilege escalation aspect, because the attacker does not need administrative rights to inject malicious code.

Affected Systems

Any WordPress site running the YMC Filter plugin prior to release 3.12.8 is vulnerable. The vulnerability is specific to the layout builder feature of the plugin. There is no alternative version number or product name; it applies to the plugin as distributed in the WordPress repository. Site administrators should verify whether the plugin is installed and determine its version.

Risk and Exploitability

The CVSS score of 5.4 classifies the vulnerability as moderate, reflecting the stored cross‑site scripting impact that requires only Contributor level access to exploit. The EPSS score of below 1% indicates a low likelihood of exploitation, while the absence of a KEV listing suggests no widespread attacks have been reported. The flaw can be exploited by any user with Contributor or higher privileges by embedding JavaScript into a layout builder setting; the malicious script then runs in the browsers of all visitors who view the affected filter, enabling cookie theft, defacement or phishing. The lack of proper input sanitization and ownership checks makes this risk significant for sites with active contributors who can modify filter settings.

Generated by OpenCVE AI on August 10, 2026 at 23:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the YMC Filter plugin to version 3.12.8 or newer, which adds proper input sanitization and ownership validation for layout builder settings.
  • If an upgrade cannot be performed immediately, revoke Contributor role privileges or disable the layout builder feature until the patch is applied.
  • Deploy a web application firewall or enforce a content‑security‑policy to block or neutralize injected script tags on visitor‑facing pages.

Generated by OpenCVE AI on August 10, 2026 at 23:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 22:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-285

Mon, 10 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 08 Aug 2026 07:45:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Ymc Filter
Ymc Filter ymc Filter
Weaknesses CWE-285
CWE-79
Vendors & Products Wordpress
Wordpress wordpress
Ymc Filter
Ymc Filter ymc Filter

Sat, 08 Aug 2026 06:30:00 +0000

Type Values Removed Values Added
Description The YMC Filter WordPress plugin before 3.12.8 does not sanitize and escape a layout builder setting before outputting it on a public endpoint, and does not verify object ownership when the setting is saved, allowing users with the Contributor role and above to store JavaScript that executes in the browser of any visitor viewing an affected filter.
Title YMC Filter < 3.12.8 - Contributor+ Stored XSS via Layout Builder Schema
References

Subscriptions

Wordpress Wordpress
Ymc Filter Ymc Filter
cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-08-10T19:45:58.875Z

Reserved: 2026-07-22T12:09:48.181Z

Link: CVE-2026-16558

cve-icon Vulnrichment

Updated: 2026-08-10T19:45:52.670Z

cve-icon NVD

Status : Deferred

Published: 2026-08-08T07:17:10.130

Modified: 2026-08-26T16:31:16.753

Link: CVE-2026-16558

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T23:30:07Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')