CVE-2025-15018
JSON

9.8critical

Optional Email <= 1.3.11 - Unauthenticated Privilege Escalation to Account Takeover

Severity
9.8critical CVSS:3.1 by Wordfence
Exploit likelihood
0.35% (higher than 30% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Wordfence

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.

Affected

Product or packageVersionsReported by
djanym Optional Emailup to 1.3.11CVE List

Classification

CWE-639

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-15018 changed 2026-04-08CVE Terms of Use
NVDCVE-2025-15018 changed 2026-10-07Public domain