Technical impact
The W4 Post List WordPress plugin is vulnerable to stored cross‑site scripting because it accepts the metavalue for a custom meta key without sanitizing or escaping it. An authenticated user with custom‑level access or higher can inject a malicious payload when creating or editing a post. Since WordPress core does not apply kses filtering to custom field values, the raw script is preserved in the database and rendered verbatim whenever the page containing the [post_meta] tag is loaded, potentially allowing defacement, credential theft, or session hijacking.
Affected Systems
Vulnerable installations are those running the W4 Post List plugin (sajib1223:W4 Post List) version 3.1.0 or earlier. Version 3.1.1 removes the flaw by validating and escaping the metavalue before storage.
Risk and Exploitability
The flaw has a CVSS score of 6.4, indicating moderate severity, with no EPSS score available and it is not listed in the CISA KEV catalog. Exploitation requires an attacker to have at least custom‑level privileges, to submit a post that uses the vulnerable meta key, and to have site visitors load a page that queries the list and references the [post_meta] tag for that key. These conditions are relatively easy to satisfy on a site where the attacker has any post‑creation rights, making the risk significant for unpatched sites.