Stored Cross-Site Scripting in W4 Post List Plugin for WordPress
CVE-2026-130056
What is CVE-2026-130056?
The W4 Post List plugin for WordPress contains a vulnerability that allows authenticated attackers to perform Stored Cross-Site Scripting. This issue arises through the 'metavalue' parameter, where inadequate sanitization and escaping of input permits the injection of arbitrary web scripts. Once an attacker successfully executes this exploit, any user accessing injected pages will inadvertently run the attacker’s web scripts. The exploitation requires proper conditions, such as the inclusion of the attacker’s post in the W4 Post List query and a specific reference in the active list template. Notably, the WordPress core fails to apply filtering to custom field values upon saving, allowing XSS payloads to persist unchanged in the database and execute on subsequent page loads.
Affected Version(s)
W4 Post List 0 <= 3.1.0