CVE-2025-15018
Optional Email <= 1.3.11 - Unauthenticated Privilege Escalation to Account Takeover
Description
The Optional Email plugin for WordPress is vulnerable to Privilege Escalation via Account Takeover in all versions up to, and including, 1.3.11. This is due to the plugin not restricting its 'random_password' filter to registration contexts, allowing the filter to affect password reset key generation. This makes it possible for unauthenticated attackers to set a known password reset key when initiating a password reset, reset the password of any user including administrators, and gain access to their accounts.
INFO
Published Date :
Jan. 7, 2026, 12:16 p.m.
Last Modified :
Oct. 7, 2026, 9:10 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | CRITICAL | MITRE-CVE | ||||
| CVSS 3.1 | CRITICAL | [email protected] |
Solution
- Update the Optional Email plugin.
- Verify plugin version is 1.3.12 or higher.
- Ensure password reset functionality is secure.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-15018.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-15018 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-15018
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-15018 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-15018 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 07, 2026
Action Type Old Value New Value Changed Translation Title: Optional Email de djanym, Description: El plugin Optional Email para WordPress es vulnerable a escalada de privilegios mediante toma de control de cuenta en todas las versiones hasta la 1.3.11, inclusive. Esto se debe a que el plugin no restringe su filtro 'random_password' a contextos de registro, lo que permite que el filtro afecte la generación de claves de restablecimiento de contraseña. Esto hace posible que atacantes no autenticados establezcan una clave de restablecimiento de contraseña conocida al iniciar un restablecimiento de contraseña, restablezcan la contraseña de cualquier usuario, incluidos los administradores, y obtengan acceso a sus cuentas. Title: Optional Email de djanym, Description: El plugin Optional Email para WordPress es vulnerable a escalada de privilegios mediante toma de control de cuenta en todas las versiones hasta la 1.3.11, inclusive. Esto se debe a que el plugin no restringe su filtro 'random_password' a contextos de registro, lo que permite que el filtro afecte la generación de claves de restablecimiento de contraseña. Esto hace posible que atacantes no autenticados establezcan una clave de restablecimiento de contraseña conocida al iniciar un restablecimiento de contraseña, restablezcan la contraseña de cualquier usuario, incluidos los administradores, y obtengan acceso a sus cuentas. -
CVE Translated by [email protected]
Sep. 30, 2026
Action Type Old Value New Value Added Translation Title: Optional Email de djanym, Description: El plugin Optional Email para WordPress es vulnerable a escalada de privilegios mediante toma de control de cuenta en todas las versiones hasta la 1.3.11, inclusive. Esto se debe a que el plugin no restringe su filtro 'random_password' a contextos de registro, lo que permite que el filtro afecte la generación de claves de restablecimiento de contraseña. Esto hace posible que atacantes no autenticados establezcan una clave de restablecimiento de contraseña conocida al iniciar un restablecimiento de contraseña, restablezcan la contraseña de cualquier usuario, incluidos los administradores, y obtengan acceso a sus cuentas. -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'djanym', 'product': 'Optional Email', 'versions': [{'status': 'affected', 'version': '0', 'versionType': 'semver', 'lessThanOrEqual': '1.3.11'}], 'defaultStatus': 'unaffected'}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2025-15018', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-01-07T16:17:34.204773Z'} -
New CVE Received by [email protected]
Jan. 07, 2026
Action Type Old Value New Value Added Description The Optional Email plugin for WordPress is vulnerable to Privilege Escalation via Account Takeover in all versions up to, and including, 1.3.11. This is due to the plugin not restricting its 'random_password' filter to registration contexts, allowing the filter to affect password reset key generation. This makes it possible for unauthenticated attackers to set a known password reset key when initiating a password reset, reset the password of any user including administrators, and gain access to their accounts. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-639 Added Reference https://plugins.trac.wordpress.org/browser/optional-email/tags/1.3.11/optional-email.php?marks=44,51#L44 Added Reference https://www.wordfence.com/threat-intel/vulnerabilities/id/ff4243e9-cf72-40d5-bc7d-204426024a1d?source=cve