CVE-2026-130056

W4 Post List <= 3.1.0 - Authenticated (Custom+) Stored Cross-Site Scripting via 'post_meta' Template Tag

Published Nov 26, 2026 CVSS 3.1 · 6.4 Medium EPSS n/a KEV · Not listed
Description
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.

Analysis

AI-generated

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.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the W4 Post List plugin to version 3.1.1 or newer, which sanitizes and escapes metavalue inputs.
  • If the upgrade cannot be performed immediately, remove or disable any use of the [post_meta] template tag that references custom keys from the affected list templates.
  • Apply an output‑escaping routine to all custom field values retrieved by the plugin to ensure that any injected scripts are rendered harmless.

Generated by OpenCVE AI on November 26, 2026 at 12:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description 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.
Title W4 Post List <= 3.1.0 - Authenticated (Custom+) Stored Cross-Site Scripting via 'post_meta' Template Tag
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

Subscriptions

No data.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Nov 26, 2026, 11:32 AM
Reserved
Nov 16, 2026, 8:13 PM
Status
Deferred
Published
Nov 26, 2026, 12:17 PM
Modified
Nov 26, 2026, 12:17 PM