CVE-2025-24638
📋 TL;DR
This DOM-based Cross-Site Scripting (XSS) vulnerability in the Create with Code WordPress plugin allows attackers to inject malicious scripts into web pages viewed by other users. It affects all WordPress sites running the plugin from initial release through version 1.4. Attackers can steal session cookies, redirect users, or perform actions on their behalf.
💻 Affected Systems
- Create with Code 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
Complete account takeover, data theft, or malware distribution to all site visitors through persistent XSS payloads.
Likely Case
Session hijacking, credential theft, or defacement of affected web pages for users who visit compromised pages.
If Mitigated
Limited impact if Content Security Policy (CSP) headers are properly configured and user input validation is enforced elsewhere.
🎯 Exploit Status
DOM-based XSS typically requires user interaction but can be weaponized through phishing or compromised pages.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 1.5 or later
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Create with Code' and check version. 4. If version is 1.4 or lower, update to latest version. 5. Verify update completed successfully.
🔧 Temporary Workarounds
Disable Plugin
allTemporarily disable the vulnerable plugin until patched
wp plugin deactivate create-with-code
Implement CSP Headers
allAdd Content Security Policy headers to mitigate XSS impact
Add to .htaccess: Header set Content-Security-Policy "default-src 'self'; script-src 'self'"
Or configure in web server settings
🧯 If You Can't Patch
- Implement web application firewall (WAF) rules to block XSS payloads
- Enable input validation and output encoding in application code
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel → Plugins → Installed Plugins → Create with Code version
Check Version:
wp plugin get create-with-code --field=version
Verify Fix Applied:
Verify plugin version is 1.5 or higher in WordPress admin panel
📡 Detection & Monitoring
Log Indicators:
- Unusual POST requests to plugin endpoints
- JavaScript payloads in URL parameters or form submissions
- Multiple failed XSS attempts in web server logs
Network Indicators:
- Suspicious script tags in HTTP requests
- Unusual redirects from plugin pages
- External script loading from unexpected domains
SIEM Query:
source="web_server" AND ("create-with-code" OR "CVE-2025-24638") AND ("<script>" OR "javascript:" OR "onerror=" OR "onload=")