CVE-2025-14138

WPLG Default Mail From <= 1.0.0 - Reflected Cross-Site Scripting via $_SERVER['PHP_SELF']

Published Dec 12, 2025 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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
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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:34 PM
Reserved
Dec 5, 2025, 5:13 PM
Status
Deferred
Published
Dec 12, 2025, 4:15 AM
Modified
Oct 7, 2026, 8:10 PM