CVE-2023-47516

7.1 HIGH

📋 TL;DR

This vulnerability in the Stark Digital Category Post List Widget WordPress plugin allows attackers to perform Cross-Site Request Forgery (CSRF) attacks that lead to Stored Cross-Site Scripting (XSS). Attackers can trick authenticated administrators into executing malicious actions that inject persistent scripts into WordPress sites. All WordPress sites using vulnerable versions of this plugin are affected.

💻 Affected Systems

Products:
  • Stark Digital Category Post List Widget WordPress Plugin
Versions: All versions up to and including 2.0
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with the vulnerable plugin activated. Attack requires tricking an authenticated administrator.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete site takeover through administrative account compromise, data theft, malware distribution to visitors, and defacement.

🟠

Likely Case

Site defacement, cookie theft from administrators, redirection to malicious sites, and limited data exposure.

🟢

If Mitigated

Minimal impact with proper CSRF tokens, content security policies, and input validation in place.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires social engineering to trick authenticated users. CSRF to XSS chain is well-documented.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Versions after 2.0

Vendor Advisory: https://patchstack.com/database/vulnerability/category-post-list-widget/wordpress-category-post-list-widget-plugin-2-0-csrf-to-cross-site-scripting-xss-vulnerability

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Category Post List Widget'. 4. Click 'Update Now' if available. 5. If no update available, deactivate and delete the plugin.

🔧 Temporary Workarounds

Deactivate Plugin

all

Temporarily disable the vulnerable plugin until patched version is available.

wp plugin deactivate category-post-list-widget

Implement CSRF Protection

all

Add CSRF tokens to all plugin forms and validate them server-side.

🧯 If You Can't Patch

  • Remove plugin entirely and use alternative widget solutions
  • Implement strict Content Security Policy (CSP) headers to mitigate XSS impact

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin > Plugins > Installed Plugins for 'Category Post List Widget' version 2.0 or earlier.

Check Version:

wp plugin get category-post-list-widget --field=version

Verify Fix Applied:

Verify plugin version is higher than 2.0 or plugin is removed from installed plugins list.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to wp-admin/admin-ajax.php with plugin-specific actions
  • Unexpected script tags in widget content

Network Indicators:

  • CSRF attack patterns with missing referrer headers
  • XSS payloads in HTTP requests

SIEM Query:

source="wordpress.log" AND ("category-post-list-widget" OR "cp_list_widget") AND (POST OR admin-ajax)

🔗 References

📤 Share & Export