CVE-2026-16558

YMC Filter < 3.12.8 - Contributor+ Stored XSS via Layout Builder Schema

Published Aug 8, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Weaknesses CWE-285
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'}

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
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
Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Aug 10, 2026, 7:45 PM
Reserved
Jul 22, 2026, 12:09 PM
Status
Deferred
Published
Aug 8, 2026, 7:17 AM
Modified
Aug 26, 2026, 4:31 PM