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: n/a
EPSS: n/a
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 severity of this flaw is high; attackers with Contributor or higher access can easily inject scripts, and the exploitation is straightforward because it requires only normal user interactions—no hacking of the server or highly privileged credentials. The EPSS score is not currently available, but the lack of an official KEV listing indicates that large‑scale exploitation has not yet been observed. Nevertheless, the combination of stored XSS and insufficient ownership checks makes the risk significant for any user with edit privileges on the site. To reduce exposure, sites should treat this as a priority issue and patch ASAP.

Generated by OpenCVE AI on August 8, 2026 at 07:25 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 8, 2026 at 07:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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-08T06:00:11.244Z

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

Link: CVE-2026-16558

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-08T07:30:17Z

Weaknesses
  • CWE-285

    Improper Authorization

  • CWE-79

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