Vulnerability Report
Plugin Medium Patch path listed CVE-2023-6520

WP 2FA – Two-factor authentication for WordPress <= 2.5.0 - Cross-Site Request Forgery

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 registered user into performing an action such as clicking on a link. While a nonce check is present, it is only executed if a nonce is set. By omitting a nonce from the request, the check can be bypassed.

Quick Answer

CVE-2023-6520 is a medium severity with CVSS 4.3 Cross-Site Request Forgery issue affecting the Plugin WP 2FA – Two-factor authentication for WordPress. It affects Versions up to 2.5.0 and is fixed in 2.6.0.

Published
Jan 02, 2024
Last Updated
Jul 29, 2024
Slug
wp-2fa
Operational Summary

What the operator needs to know

Patch Status
Patched release is available
Remediation
Update to version 2.6.0, or a newer patched version
Operator Briefing

CVE-2023-6520 is tracked for the Plugin WP 2FA – Two-factor authentication for WordPress as medium severity with CVSS 4.3. The affected range is Versions up to 2.5.0. Update WP 2FA – Two-factor authentication for WordPress to 2.6.0 or newer where that version is compatible with the site.

Issue Type
Cross-Site Request Forgery
Primary Fixed Version
2.6.0
Primary Affected Range
Versions up to 2.5.0
Tracking ID
CVE-2023-6520
Detailed Metadata
Software Type Plugin
Software Slug
CVE CVE-2023-6520
Patched Versions
2.6.0
Affected Versions
Versions up to 2.5.0
Related CVE Cluster

Related CVEs for WP 2FA – Two-factor authentication for WordPress

These internal links group the same WordPress plugin by CVE, issue type, severity, and patch status so operators and search engines can connect the full vulnerability cluster.

Medium CVE-2024-32568 2.6.3 Apr 16, 2024
CVE-2024-32568 WP 2FA – Two-factor authentication for WordPress Cross-Site Scripting

WP 2FA – Two-factor authentication for WordPress <= 2.6.2 - Reflected Cross-Site Scripting

Medium CVE-2022-1527 2.2.1 May 06, 2022
CVE-2022-1527 WP 2FA – Two-factor authentication for WordPress Cross-Site Scripting

WP 2FA – Two-factor authentication for WordPress <= 2.2.0 - Reflected Cross-Site Scripting

Medium CVE-2025-12628 3.0.0 Nov 03, 2025
CVE-2025-12628 WP 2FA – Two-factor authentication for WordPress Vulnerability

WP 2FA – Two-factor authentication for WordPress <= 2.9.3 - 2-Factor Authentication Bypass

Medium CVE-2022-44587 2.6.4 Jun 20, 2024
CVE-2022-44587 WP 2FA – Two-factor authentication for WordPress Sensitive Information Exposure

WP 2FA <= 2.6.3 - Unauthenticated Information Exposure via Log File

Medium CVE-2022-2891 2.3.0 Sep 14, 2022
CVE-2022-2891 WP 2FA – Two-factor authentication for WordPress Sensitive Information Exposure

WP 2FA <= 2.2.1 - Time-Based TOTP attack to Sensitive Information Exposure

Medium CVE-2023-6506 2.6.0 Jan 02, 2024
CVE-2023-6506 WP 2FA – Two-factor authentication for WordPress Authorization Bypass

WP 2FA <= 2.5.0 - Insecure Direct Object Reference to Arbitrary Email Sending

Medium CVE-2022-44595 2.2.1 Dec 07, 2022
CVE-2022-44595 WP 2FA – Two-factor authentication for WordPress Authorization Bypass

WP 2FA – Two-factor authentication for WordPress <= 2.2.0 - Missing Authorization

Medium 2.2.0 Apr 13, 2022
WP 2FA – Two-factor authentication for WordPress Authorization Bypass

WP 2FA – Two-factor authentication for WordPress <= 2.1.0 - Insecure Direct Object Reference

Licensing Notices

This record contains material that is subject to copyright

DEFIANT
Copyright 2012-2026 Defiant Inc.

License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more

MITRE
Copyright 1999-2026 The MITRE Corporation

License: CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more