PatchSiren

PatchSiren cyber security CVE debrief

CVE-2025-15018 djanym CVE debrief

CVE-2025-15018 is a critical vulnerability in the Optional Email plugin for WordPress, allowing unauthenticated attackers to escalate privileges and gain access to administrator accounts. This vulnerability exists due to the plugin's 'random_password' filter not being restricted to registration contexts, which allows the filter to affect password reset key generation. As a result, attackers can 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. Administrators of WordPress installations using the Optional Email plugin should assess their exposure and take immediate action to to

Vendor
djanym
Product
Optional Email
CVSS
CRITICAL 9.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-01-07
Original CVE updated
2026-09-30
Advisory published
2026-01-07
Advisory updated
2026-09-30

Who should care

Administrators of WordPress installations using the Optional Email plugin should assess their exposure and take immediate action to prevent exploitation. This includes updating the plugin to a version that fixes the vulnerability, monitoring for suspicious password reset attempts, and implementing additional security measures to prevent privilege escalation. Security teams and vulnerability management teams should also review the vulnerability and assess

Why it matters

CVE-2025-15018 is a critical vulnerability in the Optional Email plugin for WordPress, allowing unauthenticated attackers to escalate privileges and gain access to administrator accounts. Administrators of WordPress installations using the Optional Email plugin should assess their exposure and take immediate action to prevent exploitation.

  • Unauthenticated attackers can escalate privileges and gain access to administrator accounts
  • Attackers can reset the password of any user, including administrators
  • The vulnerability allows for account takeover and privilege escalation

Technical summary

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. As a result, attackers can 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. The vulnerability can be mitigated by updating the plugin to a version that fixes the issue and monitoring for suspicious activity.

Defensive priority

High

Recommended defensive actions

  • Update the Optional Email plugin to a version that fixes the vulnerability
  • Monitor for suspicious password reset attempts
  • Implement additional security measures to prevent privilege escalation
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.

Evidence notes

The vulnerability is caused by the plugin's 'random_password' filter not being restricted to registration contexts, allowing attackers to set a known password reset key and reset the password of any user, including administrators.

Sources and references

Verified primary and authoritative sources

  • CVE-2025-15018 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2025-15018

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2025-15018 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2025-15018

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.