CVE-2023-6506: The WP 2FA – Two-factor authentication for WordPress plugin for WordPress is vulnerable to Insecure Direct Obj
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.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
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
Related CVEs
- CVE-2024-32568 HIGH 7.1 UPGRADE Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Melapres
- CVE-2023-6520 MEDIUM 4.3 UPGRADE The WP 2FA – Two-factor authentication for WordPress plugin for WordPress is vulnerable to Cross-Site Request
- CVE-2022-44595 MEDIUM 5.3 UPGRADE Improper Authentication vulnerability in Melapress WP 2FA allows Authentication Bypass.This issue affects WP 2
- CVE-2022-44587 MEDIUM 5.3 UPGRADE Insertion of Sensitive Information into Log File vulnerability in WP 2FA allows Accessing Functionality Not Pr