Skip to main content
Vulnerability Database/CVE-2024-11405

CVE-2024-11405: WP Front-end Login XSS Vulnerability

CVE-2024-11405 is a reflected XSS vulnerability in WP Front-end Login and Register plugin for WordPress that allows unauthenticated attackers to inject malicious scripts. This article covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-11405 Overview

CVE-2024-11405 is a Reflected Cross-Site Scripting (XSS) vulnerability in the WP Front-end Login and Register plugin for WordPress. The flaw affects all versions up to and including 2.1.0. It originates from insufficient input sanitization and output escaping on the email and wpmp_reset_password_token parameters within the password reset form. Unauthenticated attackers can inject arbitrary JavaScript that executes in a victim's browser when the victim clicks a crafted link. The weakness is classified as [CWE-79].

Critical Impact

Unauthenticated attackers can execute arbitrary scripts in a victim's browser session, enabling session theft, credential harvesting, or redirection to attacker-controlled infrastructure.

Affected Products

  • Hellomohsinkhan WP Front-end Login and Register plugin for WordPress
  • All versions up to and including 2.1.0
  • Vulnerable file: public/partials/wpmp-resetpassword-form.php

Discovery Timeline

  • 2025-07-02 - CVE-2024-11405 published to the National Vulnerability Database (NVD)
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-11405

Vulnerability Analysis

The vulnerability resides in the plugin's password reset form rendering logic. The email and wpmp_reset_password_token request parameters are reflected into the HTML response without proper sanitization or output encoding. An attacker crafts a URL that embeds JavaScript payloads into either parameter and delivers it through phishing, forum posts, or social engineering. When the victim visits the link, the browser renders the attacker-controlled markup inside the trusted origin of the target WordPress site. Because the exploit requires user interaction and only affects the victim's session, impact is limited to confidentiality and integrity of in-browser state. Review the vulnerable code path in the WordPress Front-End Form Code and the Wordfence Vulnerability Report.

Root Cause

The root cause is a failure to apply WordPress sanitization helpers such as sanitize_email() or sanitize_text_field() on input and esc_attr() or esc_html() on output. The reset password form echoes query parameters directly into HTML attributes and form fields, violating the standard WordPress escaping contract for untrusted data.

Attack Vector

The attack vector is network-based and requires user interaction. An attacker constructs a URL pointing at the vulnerable password reset endpoint with a malicious payload in the email or wpmp_reset_password_token parameter. The attacker delivers this link through email, instant message, or malicious ads. When the authenticated or anonymous victim loads the page, the injected script executes under the WordPress site's origin and can access cookies not flagged HttpOnly, manipulate the DOM, or submit forged requests.

// No verified exploit code is published. See the Wordfence advisory
// and plugin source reference for technical details on the reflected
// parameters in wpmp-resetpassword-form.php.

Detection Methods for CVE-2024-11405

Indicators of Compromise

  • Web server access logs containing requests to the password reset endpoint with <script>, javascript:, onerror=, or URL-encoded script fragments in the email or wpmp_reset_password_token query parameters.
  • Referrer headers from external sites pointing visitors to the reset password URL with abnormally long or encoded query strings.
  • Unexpected outbound requests from browser sessions to attacker-controlled domains following reset form page loads.

Detection Strategies

  • Deploy a Web Application Firewall (WAF) rule that inspects email and wpmp_reset_password_token parameters for HTML and JavaScript metacharacters.
  • Enable a strict Content Security Policy (CSP) and monitor report-uri or report-to endpoints for violations originating on the reset password page.
  • Correlate browser error telemetry and JavaScript console logs with inbound traffic to the vulnerable path to surface exploitation attempts.

Monitoring Recommendations

  • Audit installed WordPress plugins and flag any instance of WP Front-end Login and Register at version 2.1.0 or earlier.
  • Monitor authentication-related plugin endpoints for traffic spikes, atypical geographies, or anomalous user-agent strings.
  • Alert on administrative account activity that follows a user clicking an external link containing the reset password URL.

How to Mitigate CVE-2024-11405

Immediate Actions Required

  • Identify all WordPress sites running the WP Front-end Login and Register plugin and inventory the installed version.
  • Deactivate the plugin on affected sites until a patched release is installed if business function allows.
  • Deploy WAF signatures that block script metacharacters in the email and wpmp_reset_password_token parameters.
  • Notify users about the risk of clicking password reset links received from untrusted sources.

Patch Information

At the time of publication, the NVD entry does not list a fixed version. Administrators should monitor the plugin's WordPress.org listing and the Wordfence Vulnerability Report for updates and apply the patched release as soon as it becomes available. All versions up to and including 2.1.0 remain vulnerable.

Workarounds

  • Remove or deactivate the plugin until a vendor patch is published and verified.
  • Enforce a strict Content Security Policy that disallows inline scripts and restricts script sources to trusted origins.
  • Configure session cookies with HttpOnly and Secure flags to limit the impact of successful script injection.
  • Restrict access to the password reset endpoint through authentication proxies or IP allowlists where operationally feasible.
bash
# Example Nginx rule to block script metacharacters in vulnerable parameters
if ($args ~* "(wpmp_reset_password_token|email)=.*(<|%3C|script|javascript:|onerror=)") {
    return 403;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.