Skip to main content
Vulnerability Database/CVE-2025-11922

CVE-2025-11922: WordPress Inactive Logout Plugin XSS Flaw

CVE-2025-11922 is a stored XSS vulnerability in the Inactive Logout plugin for WordPress affecting versions up to 3.5.5. Authenticated attackers can inject malicious scripts that execute when users view affected pages.

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-2025-11922 Overview

The Inactive Logout plugin for WordPress contains a Stored Cross-Site Scripting (XSS) vulnerability [CWE-79] affecting all versions up to and including 3.5.5. The flaw resides in the ina_redirect_page_individual_user parameter, which lacks sufficient input sanitization and output escaping. Authenticated attackers holding subscriber-level access or higher can inject arbitrary web scripts that execute when any user visits an affected page.

Critical Impact

Low-privileged authenticated users can persist malicious JavaScript into plugin settings, enabling session theft, administrative account takeover, and further compromise of the WordPress site when administrators load the affected pages.

Affected Products

  • Inactive Logout plugin for WordPress, all versions up to and including 3.5.5
  • WordPress sites where the plugin is installed and active
  • Any user role from subscriber and above with access to the vulnerable settings endpoint

Discovery Timeline

  • 2025-11-01 - CVE-2025-11922 published to the National Vulnerability Database (NVD)
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-11922

Vulnerability Analysis

The vulnerability is a Stored Cross-Site Scripting flaw in the Inactive Logout plugin. It exists in the handling of the ina_redirect_page_individual_user parameter, which is processed by the plugin's admin controllers and later rendered in the advanced settings interface. Because the value is neither sanitized on input nor escaped on output, attacker-supplied HTML and JavaScript persist in plugin storage.

When an administrator or other authenticated user loads the affected settings page, the injected payload executes in their browser under the site's origin. This allows the attacker to perform actions on behalf of the victim, exfiltrate session tokens, or pivot to full site compromise through administrative functionality.

Root Cause

The root cause is missing input sanitization and missing output escaping in the plugin code paths that handle the ina_redirect_page_individual_user parameter. The relevant handlers can be reviewed in the WordPress StoreController Code and WordPress AdminController Code, while the unsafe rendering occurs in the WordPress Advanced Settings Template.

Attack Vector

Exploitation requires network access to the WordPress site and authenticated access at the subscriber role or higher. The attacker submits a request that stores a JavaScript payload in the ina_redirect_page_individual_user parameter. The payload persists in plugin data and later executes whenever a user renders the affected page in a browser. The scope is changed because script executes in the security context of any authenticated viewer, including administrators. No user interaction is required beyond loading the injected page. Technical remediation details are documented in the WordPress Inactive Logout Changeset and the Wordfence Vulnerability Report.

Detection Methods for CVE-2025-11922

Indicators of Compromise

  • Presence of HTML tags such as <script>, <img onerror=...>, or <svg onload=...> inside plugin option values tied to ina_redirect_page_individual_user.
  • WordPress wp_options or plugin settings rows containing encoded JavaScript payloads or javascript: URIs.
  • Unexpected administrator account creation, role changes, or password resets shortly after admins visit the Inactive Logout settings page.
  • New unknown outbound requests from admin browsers to attacker-controlled domains after loading plugin settings.

Detection Strategies

  • Audit stored plugin settings in the WordPress database for HTML or script content in fields associated with Inactive Logout.
  • Review WordPress access logs for POST requests to admin-ajax or plugin settings endpoints that include the ina_redirect_page_individual_user parameter with suspicious payloads.
  • Monitor for subscriber-role accounts issuing requests to administrative plugin endpoints they should not interact with.

Monitoring Recommendations

  • Enable WordPress audit logging to capture user role activity and plugin setting changes.
  • Deploy a web application firewall rule that inspects requests to Inactive Logout admin endpoints for XSS patterns.
  • Alert on anomalous administrator session behavior such as new plugin installs or user creations immediately following settings page views.

How to Mitigate CVE-2025-11922

Immediate Actions Required

  • Upgrade the Inactive Logout plugin to a version later than 3.5.5 that includes the fix from the referenced changeset.
  • Review all existing plugin settings and remove any stored HTML or JavaScript content from the ina_redirect_page_individual_user field.
  • Audit subscriber and contributor accounts for unexpected registrations and reset credentials for any suspicious accounts.
  • Rotate administrator passwords and invalidate active sessions if administrators visited the settings page while a payload was stored.

Patch Information

The Inactive Logout maintainers released a fix documented in the WordPress Inactive Logout Changeset, which introduces sanitization and escaping for the affected parameter. Site administrators should update through the WordPress plugin manager to the latest available release.

Workarounds

  • Deactivate and remove the Inactive Logout plugin until it can be updated to a patched version.
  • Restrict access to the WordPress admin area using IP allowlisting or a reverse proxy to reduce exposure of the settings endpoint.
  • Limit user registrations and downgrade or remove unnecessary subscriber accounts that could be leveraged for exploitation.
  • Enforce a Content Security Policy that restricts inline script execution in the WordPress admin interface.
bash
# Configuration example: disable the vulnerable plugin via WP-CLI until patched
wp plugin deactivate inactive-logout
wp plugin update inactive-logout
wp plugin activate inactive-logout

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.