Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-130056: medium-severity vulnerability (CVSS 6.4) in sajib1223 W4 Post List.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 6.4.
Affected products and versions
sajib1223 W4 Post List <= 3.1.0
| Product | Versions | Fixed in |
|---|---|---|
| sajib1223 W4 Post List | <= 3.1.0 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f9205951-5e0b-4f91-8822-cf8cabd552e2?source=cve — CVE Program
- https://plugins.trac.wordpress.org/browser/w4-post-list/tags/3.1.0/includes/template-tags/class-post-template-tags.php#L813 — CVE Program
- https://plugins.trac.wordpress.org/browser/w4-post-list/tags/3.1.0/includes/template-tags/class-post-template-tags.php#L825 — CVE Program
- https://plugins.trac.wordpress.org/browser/w4-post-list/tags/3.1.0/includes/template-tags/class-post-template-tags.php#L836 — CVE Program
- https://plugins.trac.wordpress.org/browser/w4-post-list/tags/3.1.0/includes/template-tags/class-post-template-tags.php#L809 — CVE Program
- https://plugins.trac.wordpress.org/browser/w4-post-list/tags/3.1.0/includes/abstracts/class-list.php#L504 — CVE Program
- https://github.com/w4devInc/w4-post-list/compare/3.1.0...3.1.1 — CVE Program
Weaknesses (CWE): CWE-79
Relevant change history
Published
Preliminary advisory published.