Description
The W4 Post List plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'metavalue (for metakeyinput=)' 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.
Severity (CVSS)
| Base score | 6.4 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| Provided by | CNA |
Weaknesses
- CWE-79 — CWE-79 Improper Neutralization of Input During Web Page Generation
Affected products
| Vendor | Product | Versions |
|---|---|---|
| sajib1223 | W4 Post List | 0 to <=3.1.0 [affected] |
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f9205951-5e0b-4f91-8822-cf8cabd552e2?source=cve
- https://plugins.trac.wordpress.org/browser/w4-post-list/tags/3.1.0/includes/template-tags/class-post-template-tags.php#L813
- https://plugins.trac.wordpress.org/browser/w4-post-list/tags/3.1.0/includes/template-tags/class-post-template-tags.php#L825
- https://plugins.trac.wordpress.org/browser/w4-post-list/tags/3.1.0/includes/template-tags/class-post-template-tags.php#L836
- https://plugins.trac.wordpress.org/browser/w4-post-list/tags/3.1.0/includes/template-tags/class-post-template-tags.php#L809
- https://plugins.trac.wordpress.org/browser/w4-post-list/tags/3.1.0/includes/abstracts/class-list.php#L504
- https://github.com/w4devInc/w4-post-list/compare/3.1.0...3.1.1
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 27 Nov 2026 08:01 UTC.