CVE-2024-43946

6.5 MEDIUM

📋 TL;DR

This stored cross-site scripting (XSS) vulnerability in the SKT Blocks WordPress plugin allows attackers to inject malicious scripts into web pages that are then executed when other users view those pages. The vulnerability affects all WordPress sites using SKT Blocks plugin versions up to 1.5. Attackers can steal session cookies, redirect users, or perform actions on their behalf.

💻 Affected Systems

Products:
  • SKT Blocks – Gutenberg based Page Builder WordPress plugin
Versions: All versions up to and including 1.5
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects WordPress installations with the SKT Blocks plugin installed and activated.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could steal administrator credentials, take over the WordPress site, install backdoors, deface the website, or use the compromised site to attack visitors.

🟠

Likely Case

Attackers inject malicious JavaScript to steal user session cookies, redirect users to phishing sites, or perform unauthorized actions on behalf of logged-in users.

🟢

If Mitigated

With proper input validation and output encoding, malicious scripts would be neutralized before being stored or displayed to users.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

Stored XSS vulnerabilities in WordPress plugins are frequently exploited in the wild. Attackers typically need some level of access to inject the payload.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.6 or later

Vendor Advisory: https://patchstack.com/database/vulnerability/skt-blocks/wordpress-skt-blocks-plugin-1-5-cross-site-scripting-xss-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Go to Plugins → Installed Plugins. 3. Find SKT Blocks plugin. 4. Click 'Update Now' if update is available. 5. Alternatively, download version 1.6+ from WordPress repository and manually update.

🔧 Temporary Workarounds

Disable SKT Blocks Plugin

all

Temporarily disable the vulnerable plugin until patched

wp plugin deactivate skt-blocks

Implement Content Security Policy

all

Add CSP headers to restrict script execution

Add to .htaccess: Header set Content-Security-Policy "default-src 'self'; script-src 'self'"
Or add to WordPress functions.php: header("Content-Security-Policy: default-src 'self'; script-src 'self'");

🧯 If You Can't Patch

  • Remove the SKT Blocks plugin completely and use alternative page builders
  • Implement web application firewall (WAF) rules to block XSS payloads

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Installed Plugins → SKT Blocks version. If version is 1.5 or lower, you are vulnerable.

Check Version:

wp plugin get skt-blocks --field=version

Verify Fix Applied:

After update, verify SKT Blocks plugin shows version 1.6 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to WordPress admin-ajax.php or admin-post.php with script tags
  • Multiple failed login attempts followed by successful plugin modification

Network Indicators:

  • Outbound connections to suspicious domains from your WordPress server
  • Unusual JavaScript payloads in HTTP requests

SIEM Query:

source="wordpress.log" AND ("skt-blocks" OR "admin-ajax.php") AND ("<script>" OR "javascript:" OR "onerror=" OR "onload=")

🔗 References

📤 Share & Export