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.
Published: 2025-12-12
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Reflected Cross‑Site Scripting that allows an unauthenticated attacker to inject arbitrary JavaScript into victim browsers
Action: Patch
AI Analysis

Impact

The WPLG Default Mail From plugin for WordPress contains a reflected Cross‑Site Scripting flaw caused by the use of the $_SERVER['PHP_SELF'] variable without proper sanitization or escaping. When a user visits a crafted URL, the value of PHP_SELF is reflected back into the page, allowing an attacker to inject and execute JavaScript within the victim’s browser context. This vulnerability permits only client‑side code execution and does not provide direct access to the server or the WordPress site.

Affected Systems

WordPress installations that have the WPLG Default Mail From plugin by wpletsgo running any version up to and including 1.0.0 are affected. Sites using a newer version or not using the plugin are not vulnerable.

Risk and Exploitability

The CVSS score of 6.1 classifies the flaw as moderate severity. The EPSS score of less than 1% indicates a low current likelihood of exploitation, and the vulnerability is not listed in CISA's KEV catalog. The attack requires an unauthenticated attacker to persuade a victim to click a specially crafted link that contains the unsanitized PHP_SELF value; if successful, the injected script executes in the victim’s browser. Because the exploit is purely client‑side, it can be mitigated by addressing the root XSS flaw, but the potential for user harm remains until remediation is deployed.

Generated by OpenCVE AI on April 21, 2026 at 17:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the WPLG Default Mail From plugin to the latest release that removes the unsanitized PHP_SELF rendering bug
  • Modify the plugin source to replace any direct output of $_SERVER['PHP_SELF'] with a safe function such as htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') before echoing it
  • Deploy a Content Security Policy that blocks inline scripts and restricts script sources to trusted domains, and ensure browsers enforce XSS filtering by using appropriate security headers

Generated by OpenCVE AI on April 21, 2026 at 17:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 12 Dec 2025 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 12 Dec 2025 09:00:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Wpletsgo
Wpletsgo wplg Default Mail From
Vendors & Products Wordpress
Wordpress wordpress
Wpletsgo
Wpletsgo wplg Default Mail From

Fri, 12 Dec 2025 03:45:00 +0000

Type Values Removed Values Added
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.
Title WPLG Default Mail From <= 1.0.0 - Reflected Cross-Site Scripting via $_SERVER['PHP_SELF']
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}


Subscriptions

Wordpress Wordpress
Wpletsgo Wplg Default Mail From
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:34:54.650Z

Reserved: 2025-12-05T17:13:04.460Z

Link: CVE-2025-14138

cve-icon Vulnrichment

Updated: 2025-12-12T19:04:07.104Z

cve-icon NVD

Status : Deferred

Published: 2025-12-12T04:15:48.043

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-14138

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-21T17:30:37Z

Weaknesses