Login With Ajax – Fast Logins, 2FA, Redirects <= 4.5.1 - Unauthenticated Open Redirect via 'redirect_to' Parameter
- ID
- WPSEC-2026-2882
- Plugin
- AJAX Auth – Fast Logins, 2FA, Redirects (login-with-ajax)
- Affected
- from 4.0 before 4.6
- Remediation
- Update to 4.6 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weakness
- CWE-601
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-12
- Attack surface
- Login With Ajax – Fast Logins, 2FA, Redirects on WPSec AttackSurface
- Fix released
- Published
Description
The AJAX Auth (formerly Login With AJAX) plugin for WordPress is vulnerable to Open Redirect via the 'redirect_to' parameter in all versions up to, and including, 4.5.1 due to insufficient validation of the redirect URL returned after a successful AJAX login. The value was only passed through wp_sanitize_redirect() and was not checked against the site's allowed hosts, and the AJAX-enabled login forms, including the WordPress login page, send the browser to that URL. This makes it possible for unauthenticated attackers to redirect users to potentially malicious external sites if they can successfully trick them into logging in through a crafted link.
References
- https://wpsec.com/vuln/WPSEC-2026-2882/
- https://plugins.svn.wordpress.org/login-with-ajax/tags/4.6/
- https://wordpress.org/plugins/login-with-ajax/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS