CVE-2026-130056 in W4 Post List Plugininfo

Summary

by MITRE • 11/26/2026

The W4 Post List plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'metavalue (for metakeyinput=<attacker-chosen key>)' parameter in all versions up to, and including, 3.1.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with custom-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires the attacker's post to be included in the W4 Post List query and the active list template to reference the attacker's chosen meta key via a [post_meta key="..."] tag; because WordPress core applies no kses filtering to custom field values on save, a raw XSS payload is preserved in the database unmodified and rendered verbatim on every page load.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 11/26/2026

The W4 Post List plugin for WordPress contains a critical security vulnerability affecting all versions up to and including 3.1.0. This flaw manifests as a Stored Cross-Site Scripting issue, specifically targeting the metavalue parameter associated with metakeyinput. The root cause lies in insufficient input sanitization and output escaping mechanisms within the plugin's codebase. Unlike many other WordPress fields that benefit from core-level security filters, custom field values are not subjected to kses filtering upon saving. Consequently, any malicious script injected into these meta value fields is preserved in its raw form within the database without modification or neutralization.

Exploitation of this vulnerability requires a specific set of conditions and privileges. An attacker must possess authenticated access with at least custom-level permissions on the WordPress site. The attack vector involves injecting arbitrary web scripts through the vulnerable parameter during post creation or editing. For the payload to execute, two additional criteria must be met: the attacker's modified post must be included in a W4 Post List query, and the active list template must reference the specific meta key chosen by the attacker using a [post_meta] shortcode tag. When these conditions are satisfied, the stored script is rendered verbatim on every page load where that particular post list is displayed.

The operational impact of this vulnerability is significant due to its persistent nature. Because the malicious code is stored in the database rather than being transient, it affects all users who view pages containing the compromised post list. This can lead to session hijacking, credential theft, defacement of the website, or redirection to malicious external sites. The lack of automatic filtering by WordPress core means that developers relying on standard security practices may overlook this specific vector, leaving systems exposed until a manual patch is applied.

To mitigate this risk, administrators should immediately update the W4 Post List plugin to version 3.1.1 or later, where these sanitization and escaping issues have been addressed. In cases where updating is not immediately feasible, implementing additional server-side input validation for custom meta fields can provide a temporary layer of defense. Furthermore, enforcing strict Content Security Policy headers on the web application can help mitigate the impact of successful XSS attacks by restricting the sources from which scripts are allowed to execute. Regular security audits and code reviews focusing on output escaping in dynamic content rendering functions are recommended to prevent similar vulnerabilities in future development cycles. This vulnerability aligns with CWE-79, known as Improper Neutralization of Input During Web Page Generation commonly referred to as Cross-site Scripting, and maps to the ATT&CK technique T1059 which covers Command and Scripting Interpreter execution via web shells or injected scripts.

Responsible

Wordfence

Reservation

11/16/2026

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

EPSS

0.00348

KEV

no

Activities

very low

Sources

Do you know our Splunk app?

Download it now for free!