CVE-2025-15018

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

Published Jan 7, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Optional Email plugin for WordPress is vulnerable because its 'random_password' filter is applied outside of registration contexts, creating a CWE-639 weakness that allows an unauthenticated attacker to set a known password reset key when initiating a password reset. By doing so, the attacker effectively bypasses authorization checks and can reset the password for any user, including administrators, achieving full account takeover.

Affected Systems

Any WordPress site that has the Optional Email plugin version 1.3.11 or earlier installed. The flaw exists in all releases up to and including 1.3.11 and removes the restriction on the password‑reset process for those versions.

Risk and Exploitability

The flaw carries a CVSS score of 9.8, indicating critical severity, but its EPSS score of <1% indicates that widespread exploitation is unlikely under current conditions. It is not listed in CISA’s KEV catalog. Exploitation is possible by an unauthenticated attacker visiting the public password‑reset page, selecting a pre‑known key, and resetting a target user’s password. Once the password is changed, the attacker can log in to any account, including those with administrative privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Optional Email plugin to a version newer than 1.3.11, which eliminates the unrestricted use of the random_password filter.
  • If upgrading is not immediately possible, disable or uninstall the Optional Email plugin to remove the attack surface.
  • Implement multi‑factor authentication for all WordPress administrative accounts to reduce the impact of a compromise.
  • Regularly monitor account reset logs for unexpected activity.

Generated by OpenCVE AI on April 21, 2026 at 00:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Djanym
Djanym optional Email
Wordpress
Wordpress wordpress
Vendors & Products Djanym
Djanym optional Email
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values 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.
Title Optional Email <= 1.3.11 - Unauthenticated Privilege Escalation to Account Takeover
Weaknesses CWE-639
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:35 PM
Reserved
Dec 22, 2025, 2:54 AM
Status
Deferred
Published
Jan 7, 2026, 12:16 PM
Modified
Oct 7, 2026, 9:10 AM