Plugins · wp-2fa · data as of 2026-11-04
Is WP 2FA safe? Known vulnerabilities and latest version
- Latest version
- 4.2.1
- Last updated
- 2026-10-14
- Active installs
- 100,000+
- Known issues on record
- 13
- Unpatched in latest
- 0
- Tested up to WP
- 7.1.4 · PHP 7.4+
Get better WordPress login security; add two-factor authentication (2FA) for all your users with this easy-to-use plugin. — by Melapress
What to do
- Update to the latest version (4.2.1). Anything older than 4.2.0 has at least one known issue listed below. Dashboard → Updates, or Plugins → “update now”.
- If you cannot update right away, deactivate it until you can.
- Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
- If you ran a vulnerable version and something looks off (spam pages, strange admins, redirects), run the free scan.
With WP-CLI: wp plugin get wp-2fa --field=version shows what you run; wp plugin update wp-2fa updates it.
Check your version
Known vulnerabilities
13 on record, newest first. “Affected” is the version range the source gives; “fixed in” is the version the source names, or (marked *) the first wordpress.org release after the last affected version.
low 2.7 CVE-2026-108066 · published 2026-10-14
Missing authorization check in WP 2FA (older than 4.2.0)
- Affected
- older than 4.2.0
- Fixed in
- 4.2.0
- Access needed (per CVSS)
- Needs an admin-level account
- Range from
- CVE record (the advisory publisher) · score by CISA ADP
Details from the advisory
The WP 2FA WordPress plugin before 4.2.0 does not perform an object-level capability check before removing a user's two-factor authentication configuration, allowing a site administrator on WordPress Multisite to remove the 2FA configuration of users outside their own site, including accounts they are not permitted to edit. On single-site installs an administrator can already manage all users, so this crosses a trust boundary only on Multisite.
high 8.8 CVE-2026-62142 · published 2026-10-08
Cross-site request forgery (CSRF) in WP 2FA (4.1.0 and older)
- Affected
- 4.1.0 and older
- Fixed in
- 4.2.0
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by Patchstack
Details from the advisory
Cross-Site Request Forgery (CSRF) vulnerability in Melapress WP 2FA wp-2fa allows Cross Site Request Forgery.This issue affects WP 2FA: from n/a through 4.1.0.
high 7.5 CVE-2026-103514 · published 2026-10-03
Authentication bypass in WP 2FA (older than 4.1.0)
- Affected
- older than 4.1.0
- Fixed in
- 4.1.0
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- CVE record (the advisory publisher) · score by CISA ADP
Details from the advisory
The WP 2FA WordPress plugin before 4.1.0 does not invalidate a time-based one-time passcode once it has been used, allowing an attacker who knows an account's password and has observed a valid code within its validity window to replay it and bypass two-factor authentication, including on administrator accounts.
high 7.5 CVE-2026-15372 · published 2026-08-05
Authentication bypass in WP 2FA (older than 4.1.0)
- Affected
- older than 4.1.0
- Fixed in
- 4.1.0
- Access needed (per CVSS)
- No login needed
- Range from
- CVE record (the advisory publisher) · score by CISA ADP
Details from the advisory
The WP 2FA WordPress plugin before 4.1.0 does not validate the second authentication factor when one of its supported methods is selected at login, allowing an attacker who already knows a user's password to bypass two-factor authentication and fully access the account, including administrator accounts.
medium 6.4 CVE-2026-12988 · published 2026-07-14
Missing authorization check in WP 2FA (older than 3.1.1.2)
- Affected
- older than 3.1.1.2
- Fixed in
- 3.1.1.2
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- CVE record (the advisory publisher) · score by CISA ADP
Details from the advisory
The WP 2FA WordPress plugin before 3.1.1.2 does not verify that the email address supplied during two-factor authentication setup belongs to the user, allowing an attacker who has obtained a user's credentials to redirect the setup verification code to an attacker-controlled email address and take over the account.
medium 6.3 CVE-2025-12628 · published 2025-11-24
Security issue in WP 2FA (older than 3.0.0)
- Affected
- older than 3.0.0
- Fixed in
- 3.0.0
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- CVE record (the advisory publisher) · score by CISA ADP
Details from the advisory
The WP 2FA WordPress plugin does not generate backup codes with enough entropy, which could allow attackers to bypass the second factor by brute forcing them
high 7.5 CVE-2022-44587 · published 2024-06-21
Information disclosure in WP 2FA (2.6.3 and older)
- Affected
- 2.6.3 and older
- Fixed in
- 2.6.4
- Access needed (per CVSS)
- No login needed
- Range from
- CVE record (the advisory publisher) · score by NVD
Details from the advisory
Insertion of Sensitive Information into Log File vulnerability in WP 2FA allows Accessing Functionality Not Properly Constrained by ACLs.This issue affects WP 2FA: from n/a through 2.6.3.
medium 6.1 CVE-2024-32568 · published 2024-04-18
Cross-site scripting (XSS) in WP 2FA (2.6.2 and older)
- Affected
- 2.6.2 and older
- Fixed in
- 2.6.3
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by NVD
Details from the advisory
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Melapress WP 2FA wp-2fa.This issue affects WP 2FA: from n/a through <= 2.6.2.
medium 5.3 CVE-2022-44595 · published 2024-03-21
Authentication bypass in WP 2FA (2.2.0 and older)
- Affected
- 2.2.0 and older
- Fixed in
- 2.2.1
- Access needed (per CVSS)
- No login needed
- Range from
- CVE record (the advisory publisher) · score by NVD
Details from the advisory
Improper Authentication vulnerability in Melapress WP 2FA allows Authentication Bypass.This issue affects WP 2FA: from n/a through 2.2.0.
medium 4.3 CVE-2023-6520 · published 2024-01-11
Cross-site request forgery (CSRF) in WP 2FA (2.5.0 and older)
- Affected
- 2.5.0 and older
- Fixed in
- 2.6.0 *
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by NVD
Details from the advisory
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.
NVD CVE-2023-6520Wordfence advisoryCode change (fix)Plugin source
medium 4.3 CVE-2023-6506 · published 2024-01-11
Missing authorization check in WP 2FA (2.5.0 and older)
- Affected
- 2.5.0 and older
- Fixed in
- 2.6.0 *
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber)
- Range from
- CVE record (the advisory publisher) · score by NVD
Details from the advisory
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.
NVD CVE-2023-6506Wordfence advisoryCode change (fix)Plugin source
medium 5.9 CVE-2022-2891 · published 2022-10-10
Security issue in WP 2FA (older than 2.3.0)
- Affected
- older than 2.3.0
- Fixed in
- 2.3.0
- Access needed (per CVSS)
- No login needed
- Range from
- CVE record (the advisory publisher) · score by NVD
Details from the advisory
The WP 2FA WordPress plugin before 2.3.0 uses comparison operators that don't mitigate time-based attacks, which could be abused to leak information about the authentication codes being compared.
medium 6.1 CVE-2022-1527 · published 2022-05-30
Reflected cross-site scripting (XSS) in WP 2FA (older than 2.2.1)
- Affected
- older than 2.2.1
- Fixed in
- 2.2.1
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- NVD analysis · score by NVD
Details from the advisory
The WP 2FA WordPress plugin before 2.2.1 does not sanitise and escape a parameter before outputting it back in an admin page, leading to a Reflected Cross-Site Scripting
Recent activity
- 2026-10-14 — latest release on wordpress.org (4.2.1).
- 2026-10-14 — Missing authorization check disclosed (CVE-2026-108066), fixed in 4.2.0.
- 2026-10-08 — Cross-site request forgery (CSRF) disclosed (CVE-2026-62142), fixed in 4.2.0.
- 2026-10-03 — Authentication bypass disclosed (CVE-2026-103514), fixed in 4.1.0.
Get an email when WP 2FA has a new vulnerability
Free. We check the CVE feeds every day and email you only when a new issue for WP 2FA (wp-2fa) is published or a fix ships. Unsubscribe in one click.
Browse vulnerabilities
- Published this week
- Unpatched in the latest version
- By type of vulnerability
- Plugins by Melapress (4 tracked)
Types found in this plugin: Missing authorization (3) · Authentication bypass (3) · Cross-site request forgery (CSRF) (2) · Cross-site scripting (XSS) (2) · Sensitive data exposure (1)
Where this data comes from
- Version, last update, installs: wordpress.org/plugins/wp-2fa (Plugins API), fetched 2026-11-04.
- Vulnerabilities: NIST National Vulnerability Database (NVD), checked 2026-11-04. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- Each record links to its CVE page and to the original advisory (Wordfence, Patchstack or WPScan) where there is one. We only list a CVE here when its references or its advisory name this exact plugin, so a few real issues may be missing; none should be about a different plugin. Spot an error? Email Daniel.
Badge for your site or docs (states facts with a date, not a verdict):
<a href="https://laskyr.com/plugins/wp-2fa"><img src="https://laskyr.com/plugins/wp-2fa/badge.svg" alt="WP 2FA vulnerability status"></a>