Weak Backup Code Generation in WP 2FA Plugin

6.3MEDIUM

Key Information:

Vendor

WordPress

Status
CVE ID
CVE ID:
CVE-2025-12628
Vendor
CVE Published:
24 November 2025
Fixed in
Fixed in:
3.0.0

Timeline

Exploit known the day it was published

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Badges

👾 Exploit Exists🟡 Public PoC

How risky is it?

  • Partly: Works over the network, but needs a login
  • Yes: Public exploit code (1 proof-of-concept)
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Update to a fixed version
WP 2FA 0 to below 3.0.0 is vulnerable
Install WP 2FA 3.0.0 or later
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach WP 2FA. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Look for signs of compromise

Exploit code is public, so check logs on exposed WP 2FA systems for unusual requests or new processes from before you patched. The 1 public proof-of-concept show what an attack looks like.

4Why it's rated "Check today"
  • Exploit code is public, so attacks are easy to copy.
  • Its CVSS severity is medium (6.3).

What is CVE-2025-12628?

The WP 2FA WordPress plugin is compromised by a vulnerability that stems from insufficient randomness in the generation of backup codes. This weakness allows potential attackers to exploit the two-factor authentication mechanism by brute forcing the predictable backup codes. Consequently, this significantly undermines the protective layer of the plugin, potentially granting unauthorized access to users' accounts.

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

Object Injection in Ultimate Member

CVE-2026-134481
WordPressUltimate Member😄9.8CRITICAL

Unauthorized Password Reset in User Registration Aide Plugin for WordPress

CVE-2026-121385
WordPressUser Registration Aide👾9.8CRITICAL

Remote Code Execution in WP Duplicate Plugin

CVE-2026-14492
WordPressWP Duplicate – WordPre...9.8CRITICAL
View more WordPress vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V3.1

Score:
6.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Credit

Benjamin Nadarević
WPScan
.