CVE-2025-15018CWE-639

CVE-2025-15018

Critical · published January 7, 2026

CVSS v3.1
9.8
EPSS
0%
Percentile
27.3
In the wild
Unconfirmed
What it is

🚨 An unauthenticated attacker can hijack any WordPress account with just a crafted password reset key! This is a legit game-changer for site security! 🔥 Think of this vulnerability like a hotel where anyone can walk in and request a master key to the rooms, even without checking in. The 'random_password' filter that sounds random is actually handing out the keys without verification! An attacker could easily reset any user's password, including administrators, and gain unauthorized access to sensitive information or functionalities. This can lead to data theft, website manipulation, or even complete takeover of the site. The consequences are nothing short of catastrophic for both the site's integrity and user trust!

Put simply

Think of this vulnerability like a hotel where anyone can walk in and request a master key to the rooms, even without checking in. The 'random_password' filter that sounds random is actually handing out the keys without verification! The Optional Email plugin for WordPress fails to limit its 'random_password' filter to registration contexts. This oversight allows unauthorized users to set their own password reset keys, enabling them to reset passwords for any account.

What to do

An attacker could easily reset any user's password, including administrators, and gain unauthorized access to sensitive information or functionalities. This can lead to data theft, website manipulation, or even complete takeover of the site. The consequences are nothing short of catastrophic for both the site's integrity and user trust! Patch your WordPress site by updating the Optional Email plugin to version 1.3.12 or later immediately. Additionally, review your user account settings and consider implementing two-factor authentication for added security. Don't forget to audit any recent account changes! You've got this! By following these steps, you'll secure your site in no time and keep those pesky intruders out! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00349 · 27.3th percentile
Weakness
CWE-639 · Authorization Bypass Through User-Controlled Key
Published
2026-01-07T17:16Z
References (2)
EPSS history
Timeline
  • 07 JAN 08:21Z
    Optional Email <= 1.3.11 - Unauthenticated Privilege Escalation to Account Takeover
    cvelistv5