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

8.1
Inadequate Encryption Strength
CVE CVE-2025-5305
CVSS 8.1 (High)
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

Share

Vulnerability Details for Password Reset with Code for WordPress REST API

Software Type Plugin
Software Slug bdvs-password-reset (view on wordpress.org)
Patched? Yes
Remediation Update to version 0.0.17, or a newer patched version
Affected Version
  • <= 0.0.16
Patched Version
  • 0.0.17

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation