CVE-2025-3661
📋 TL;DR
The SB Chart block plugin for WordPress has a stored cross-site scripting vulnerability that allows authenticated attackers with Contributor-level access or higher to inject malicious scripts into web pages. These scripts execute whenever users view the compromised pages, potentially stealing credentials or performing unauthorized actions. All WordPress sites using this plugin up to version 1.2.6 are affected.
💻 Affected Systems
- SB Chart block WordPress plugin
⚠️ Manual Verification Required
This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.
Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).
🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- Consider updating to the latest version as a precaution
⚠️ Risk & Real-World Impact
Worst Case
Attackers could steal administrator credentials, take over the WordPress site, deface pages, redirect users to malicious sites, or install backdoors for persistent access.
Likely Case
Attackers with contributor accounts inject malicious scripts to steal user session cookies, perform actions as logged-in users, or display phishing content to visitors.
If Mitigated
With proper user access controls and content security policies, impact is limited to potential defacement of specific pages containing the injected content.
🎯 Exploit Status
Exploitation requires authenticated access but is technically simple. The vulnerability details and patch are publicly available.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 1.2.7 or later
Vendor Advisory: https://wordpress.org/plugins/sb-chart-block/#developers
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'SB Chart block' and click 'Update Now'. 4. Verify the plugin version is 1.2.7 or higher.
🔧 Temporary Workarounds
Disable vulnerable plugin
allTemporarily deactivate the SB Chart block plugin until patched
wp plugin deactivate sb-chart-block
Restrict user roles
allTemporarily remove Contributor and Author roles from untrusted users
🧯 If You Can't Patch
- Remove the SB Chart block plugin completely from your WordPress installation
- Implement a Content Security Policy (CSP) header to restrict script execution sources
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin → Plugins → Installed Plugins for SB Chart block version 1.2.6 or earlier
Check Version:
wp plugin get sb-chart-block --field=version
Verify Fix Applied:
Confirm plugin version is 1.2.7 or higher in WordPress admin panel
📡 Detection & Monitoring
Log Indicators:
- Unusual POST requests to wp-admin with className parameter containing script tags
- Multiple failed login attempts followed by successful Contributor-level login
Network Indicators:
- Outbound connections to suspicious domains from your WordPress server
- Unusual JavaScript payloads in HTTP responses containing the SB Chart block
SIEM Query:
source="wordpress.log" AND ("className" AND ("<script" OR "javascript:"))
🔗 References
- https://plugins.trac.wordpress.org/browser/sb-chart-block/trunk/sb-chart-block.php#L104
- https://plugins.trac.wordpress.org/changeset/3276462/
- https://wordpress.org/plugins/sb-chart-block/#developers
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f6afe4b6-c38c-46fa-82d5-95cb35c2c30f?source=cve