CVE-2023-6520: The WP 2FA – Two-factor authentication for WordPress plugin for WordPress is vulnerable to Cross-Site Request
CVE-2023-6520 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 Cross-Site Request Forgery in all versions up to, and including, 2.5.0. This is due to missing or incorrect nonce validation on the send_backup_codes_email function. This makes it possible for unauthenticated attackers to send emails with arbitrary content to registered users via a forged request granted they can trick a site administrator or other register
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.2% (top 84%) |
| CISA exploited list | No |
| Weakness | CWE-352 |
| Published | 2024-01-11 |
| Last modified | 2026-06-17 |
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-6520?
wp 2fa: upgrade to 2.6.0. Exact commands for each OS are on this page.
Is CVE-2023-6520 being exploited?
CVE-2023-6520 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-6520 affect?
CVE-2023-6520 affects wp 2fa. Severity is medium (CVSS 4.3). The WP 2FA – Two-factor authentication for WordPress plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 2.5.0. This is due to missing or incorrect nonce validation on the send_backup_codes
How urgent is CVE-2023-6520?
Priority 19/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-6506 MEDIUM 4.3 UPGRADE The WP 2FA – Two-factor authentication for WordPress plugin for WordPress is vulnerable to Insecure Direct Obj
- 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