{
 "id": "WPSEC-2026-2882",
 "url": "https://wpsec.com/vuln/WPSEC-2026-2882/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-2882/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-2882/index.md",
 "title": "Login With Ajax – Fast Logins, 2FA, Redirects <= 4.5.1 - Unauthenticated Open Redirect via 'redirect_to' Parameter",
 "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.",
 "plugin": {
  "slug": "login-with-ajax",
  "name": "Login With Ajax – Fast Logins, 2FA, Redirects",
  "full_name": "AJAX Auth – Fast Logins, 2FA, Redirects",
  "wordpress_org": "https://wordpress.org/plugins/login-with-ajax/",
  "advisories_url": "https://wpsec.com/vuln/plugin/login-with-ajax/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/login-with-ajax"
 },
 "type": "REDIRECT",
 "cwe": [
  "CWE-601"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.1,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "4.0",
    "from_inclusive": true,
    "to": "4.6",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 4.0 before 4.6"
  ]
 },
 "introduced_in": "4.0",
 "fixed_in": "4.6",
 "remediation": "Update to 4.6 or later.",
 "fix_released": "2026-11-10T13:22:42+00:00",
 "published": "2026-11-12T17:52:14+00:00",
 "updated": "2026-11-12T17:08:11.871746+00:00",
 "also_published_as": null,
 "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/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/login-with-ajax",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-11-12"
 }
}