Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2023-6506: The WP 2FA – Two-factor authentication for WordPress plugin for WordPress is vulnerable to Insecure Direct Obj

25
Routine
MEDIUM 4.3UPGRADE

CVE-2023-6506 is a medium-severity flaw (CVSS 4.3) affecting wp 2fa. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

The WP 2FA – Two-factor authentication for WordPress plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 2.5.0 via the send_backup_codes_email due to missing validation on a user controlled key. This makes it possible for subscriber-level attackers to email arbitrary users on the site.

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score4.3 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance0.5% (top 60%)
CISA exploited listNo
WeaknessCWE-639, CWE-732
Published2024-01-11
Last modified2026-06-17
Publisher (CNA): Wordfence · Vendor: wpwhitesecurity

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

wpwhitesecurity wp 2fa UPGRADE
Affected: <= 2.5.0
Fixed in: newer than 2.5.0
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy wp-2fa || rpm -q wp-2fa || wp-2fa --version
2. UPGRADE to newer than 2.5.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade wp-2fa
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade wp-2fa
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2023-6506?

wp 2fa: upgrade to newer than 2.5.0. Exact commands for each OS are on this page.

Is CVE-2023-6506 being exploited?

CVE-2023-6506 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2023-6506 affect?

CVE-2023-6506 affects wp 2fa. Severity is medium (CVSS 4.3). The WP 2FA – Two-factor authentication for WordPress plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 2.5.0 via the send_backup_codes_email due to missing validation on a user cont

How urgent is CVE-2023-6506?

Priority 25/100. No elevated risk signals yet.

Software pages

WordPress vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.