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-2025-2613 Overview
CVE-2025-2613 is a Stored Cross-Site Scripting (XSS) vulnerability [CWE-79] in the Login Manager – Design Login Page, View Login Activity, Limit Login Attempts plugin for WordPress. The flaw affects all versions up to and including 2.0.5. It stems from insufficient input sanitization and output escaping on the Custom logo and background URL fields.
Authenticated attackers with administrator-level permissions can inject arbitrary JavaScript into pages rendered to any visiting user. The issue only impacts multi-site WordPress installations and configurations where unfiltered_html has been disabled.
Critical Impact
Authenticated administrators on WordPress multi-site deployments can store malicious scripts in login page assets that execute in the context of any user viewing the affected pages.
Affected Products
- Login Manager – Design Login Page, View Login Activity, Limit Login Attempts plugin for WordPress
- All versions up to and including 2.0.5
- WordPress multi-site installations and sites with unfiltered_html disabled
Discovery Timeline
- 2025-04-18 - CVE-2025-2613 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-2613
Vulnerability Analysis
The plugin exposes administrative settings that accept URLs for a custom login page logo and background image. The affected handler, referenced in the plugin source at customized-login.php line 199, writes these URL values into rendered output without applying proper escaping functions such as esc_url() or esc_attr().
An attacker supplies a crafted value containing JavaScript payloads instead of a legitimate URL. When the login page or related admin views render the stored value, the browser parses the injected script and executes it under the site's origin. This produces persistent script execution for every subsequent visitor to the affected page.
Because the attack requires administrator-level privileges, the practical risk is limited to environments where administrator roles are segregated from unfiltered_html capability. WordPress multi-site deployments satisfy this condition by default, since only Super Admins hold unfiltered_html.
Root Cause
The root cause is missing output encoding on administrator-supplied URL fields. The plugin trusts the stored setting value and emits it directly into HTML attributes, violating the WordPress coding standard that mandates esc_url() for URL output and esc_attr() for attribute contexts.
Attack Vector
Exploitation requires an authenticated administrator session on a multi-site WordPress network or a site with unfiltered_html disabled. The attacker navigates to the plugin's settings page, submits a malicious payload in the Custom Logo URL or Background URL field, and saves the configuration. The stored payload then executes in the browser of any user who loads the affected login page.
See the WordPress Plugin Code Review and the Wordfence Vulnerability Report for the vulnerable code path.
Detection Methods for CVE-2025-2613
Indicators of Compromise
- Unexpected <script> tags, javascript: URIs, or HTML event handlers stored in the plugin's logo_url or background_url settings in the wp_options table.
- Login page HTML containing inline script fragments that reference external domains not controlled by the site operator.
- Audit log entries showing administrator edits to the Login Manager plugin settings followed by anomalous outbound requests from visitor browsers.
Detection Strategies
- Query the WordPress options table for Login Manager plugin settings and flag any value that fails URL validation or contains HTML metacharacters such as <, ", or on event prefixes.
- Deploy a Web Application Firewall (WAF) rule that inspects responses from the login page and alerts on script content sourced from unexpected origins.
- Correlate administrator account activity with subsequent client-side script executions reported through Content Security Policy (CSP) violation endpoints.
Monitoring Recommendations
- Enable WordPress audit logging to capture changes to plugin configuration by administrator accounts.
- Monitor for new or modified records in wp_options entries created by the customized-login plugin.
- Track browser telemetry and CSP reports to identify script execution originating from /wp-login.php and related endpoints.
How to Mitigate CVE-2025-2613
Immediate Actions Required
- Update the Login Manager – Design Login Page, View Login Activity, Limit Login Attempts plugin to a version later than 2.0.5 as soon as the vendor publishes a patched release.
- Audit the plugin's Custom Logo URL and Background URL settings on all multi-site networks and confirm the values resolve to legitimate image resources.
- Review administrator account inventory and remove or demote any accounts that do not require administrative access.
Patch Information
The vendor has not published a fixed version referenced in the available CVE data. Monitor the Wordfence Vulnerability Report and the plugin's WordPress.org page for release updates and apply the patched version once published.
Workarounds
- Deactivate the Login Manager plugin on multi-site installations until a fixed version is available.
- Restrict access to the plugin's settings page using role management controls, limiting configuration to trusted Super Admins only.
- Implement a strict Content Security Policy that disallows inline scripts on wp-login.php to blunt the impact of any stored payload.
# Example CSP header to mitigate stored XSS execution on the login page
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; img-src 'self' https:; style-src 'self' 'unsafe-inline'"
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

