Password Reset with Code <= 0.0.16 - Unauthenticated Privilege Escalation via Weak OTP Codes

Inadequate Encryption Strength
CVE CVE-2025-5305
CVSS High (8.1)
Publicly Published August 28, 2025
Last Updated September 25, 2025
Researcher Tommaso Gregori
Description

The Password Reset with Code for WordPress REST API plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 0.0.16. This is due to the plugin not using cryptographically secure mechanisms for OTP generation This makes it possible for unauthenticated attackers to reset users, including administrators, passwords and leverage that to gain access to their accounts.

References

1 affected software package

Software Type Plugin
Software Slug bdvs-password-reset (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 0.0.16
Patched Version
  • 0.0.17
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.