CVE-2025-5305 Password Reset with Code < 0.0.17 - Insecure Password Reset Code Creation

Critical 9.8 Published Updated

Attackers can predict insecurely generated password reset codes to take over user accounts in this WordPress plugin.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-5305?

CVE-2025-5305 is a critical vulnerability in Unknown Password Reset with Code for WordPress REST API, published on 18 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Password Reset with Code for WordPress REST API WordPress plugin before 0.0.17 does not use cryptographically sound algorithms to generate OTP codes, potentially leading to account takeovers.

Which versions are affected by CVE-2025-5305?

How do I fix CVE-2025-5305?

No fix has been published for CVE-2025-5305 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-5305 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-5305 exists.

Sources

Also known as GHSA-53hx-hjr5-fg4m.

Is CVE-2025-5305 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free