Description
The Simple post listing plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'class_name' parameter in the postlist shortcode in all versions up to, and including, 0.2. This is due to insufficient input sanitization and output escaping on user-supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page via mouse interaction.
Published: 2025-12-12
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting (XSS) via a plugin attribute
Action: Apply Patch
AI Analysis

Impact

The Simple post listing plugin, in versions up to and including 0.2, fails to properly sanitize the "class_name" attribute in the short‑code it exposes. When a contributor or higher level user supplies malicious content through this parameter, the value is stored and later rendered without escaping. Consequently, attackers can place arbitrary JavaScript that executes in the browsers of any user who views a page containing the affected shortcode. This weakness (CWE‑79) allows an authenticated attacker with contributor privileges to hijack sessions, deface pages, or harvest credentials by exploiting unsuspecting visitors.

Affected Systems

WordPress sites using the "Simple post listing" plugin (sgcoskey) with any version 0.2 or earlier are affected. The vulnerability is exploitable only when the attacker has at least contributor permissions and does not demand remote code execution or system compromise.

Risk and Exploitability

The CVSS score of 6.4 indicates a moderate severity. The EPSS score of less than 1% suggests currently low exploitation probability. The vulnerability is not listed in CISA’s KEV catalog, further indicating limited or no reported exploitation. An attacker would need to authenticate and use the contributor role to insert malicious code via the shortcode; the threat is limited to cross‑site scripting rather than server‑side compromise.

Generated by OpenCVE AI on April 21, 2026 at 00:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Simple post listing plugin to the latest available version that removes the stored XSS flaw (any release after 0.2).
  • If an upgrade is not possible, delete or disable the plugin to eliminate the attack surface.
  • As a temporary measure, restrict the contributor role to trusted users only and monitor content for unexpected JavaScript.

Generated by OpenCVE AI on April 21, 2026 at 00:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 18 Dec 2025 21:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 12 Dec 2025 09:00:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress

Fri, 12 Dec 2025 03:45:00 +0000

Type Values Removed Values Added
Description The Simple post listing plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'class_name' parameter in the postlist shortcode in all versions up to, and including, 0.2. This is due to insufficient input sanitization and output escaping on user-supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page via mouse interaction.
Title Simple post listing <= 0.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode
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

Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:28:34.631Z

Reserved: 2025-11-03T20:11:43.985Z

Link: CVE-2025-12650

cve-icon Vulnrichment

Updated: 2025-12-18T20:36:33.870Z

cve-icon NVD

Status : Deferred

Published: 2025-12-12T04:15:38.773

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-12650

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-21T01:00:12Z

Weaknesses