CVE-2024-2738 Overview
CVE-2024-2738 is a Reflected Cross-Site Scripting (XSS) vulnerability affecting the Permalink Manager Lite and Pro plugins for WordPress. The flaw exists in multiple instances of the s parameter across all plugin versions up to and including 2.4.3.1. The vulnerability results from insufficient input sanitization and output escaping in the plugin code.
Unauthenticated attackers can inject arbitrary web scripts that execute when a user is tricked into clicking a crafted link. The issue is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation).
Critical Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary JavaScript in a victim's browser, enabling session theft, credential harvesting, or forced administrative actions against WordPress sites.
Affected Products
- Permalink Manager Lite for WordPress (all versions up to and including 2.4.3.1)
- Permalink Manager Pro for WordPress (all versions up to and including 2.4.3.1)
- WordPress sites running the affected plugin versions
Discovery Timeline
- 2024-04-09 - CVE-2024-2738 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-2738
Vulnerability Analysis
The vulnerability is a Reflected XSS flaw triggered through the s (search) parameter used in multiple locations within the Permalink Manager plugin. The plugin echoes the value of the s parameter back into rendered HTML without applying adequate sanitization or escaping routines.
An attacker crafts a URL containing malicious JavaScript in the s parameter and delivers it to a target user through phishing, social engineering, or a malicious website. When the victim's browser requests the URL, the server reflects the payload into the response, and the browser executes the script in the context of the WordPress site.
Because the attack requires no authentication, any visitor to the WordPress site is a potential target. Administrative users are the most valuable targets, since executing JavaScript in their session context enables account takeover.
Root Cause
The root cause is missing input validation on the s GET parameter and missing output escaping when that parameter is written back into the HTML response. The plugin trusts user-supplied input in multiple code paths that generate search-result or admin interface markup.
Attack Vector
Exploitation is network-based and requires user interaction. The attacker delivers a crafted link containing a JavaScript payload embedded in the s query parameter. When a user clicks the link on a site running a vulnerable Permalink Manager version, the payload is reflected into the page and executed by the browser. Refer to the Wordfence Vulnerability Report and the GitHub Gist Security PoC for technical proof-of-concept details.
Detection Methods for CVE-2024-2738
Indicators of Compromise
- HTTP requests containing script tags, javascript: URIs, or encoded payloads in the s query parameter targeting WordPress endpoints.
- Web server access logs showing repeated requests to Permalink Manager pages with unusual or encoded s parameter values.
- Referrer headers originating from external domains or URL shorteners followed by suspicious s parameter contents.
- Unexpected outbound browser connections from administrator sessions to attacker-controlled domains shortly after clicking inbound links.
Detection Strategies
- Inspect WordPress access logs for requests where the s parameter contains angle brackets, onerror, onload, or encoded variants such as %3Cscript%3E.
- Deploy Web Application Firewall (WAF) rules that flag reflected script patterns in query strings targeting the Permalink Manager plugin paths.
- Correlate administrator session activity with recent inbound clicks on external links to identify potential post-exploitation behavior.
Monitoring Recommendations
- Enable verbose access logging on the WordPress web server and forward logs to a central SIEM for query-string analysis.
- Monitor for anomalous administrator actions such as new user creation, plugin installation, or option changes following link clicks.
- Track plugin inventory and version data to identify hosts still running Permalink Manager versions at or below 2.4.3.1.
How to Mitigate CVE-2024-2738
Immediate Actions Required
- Update Permalink Manager Lite and Permalink Manager Pro to a version later than 2.4.3.1 on all WordPress sites.
- Audit administrator and editor accounts for unauthorized changes made since the plugin was installed.
- Instruct privileged users to avoid clicking untrusted links pointing at the WordPress site until patching completes.
Patch Information
The vendor addressed the vulnerability in the plugin release that follows 2.4.3.1. Review the WordPress Plugin Changeset for the specific code changes and the GitHub Gist Security Update for additional context.
Workarounds
- Deploy a WAF rule that blocks requests containing script-like content in the s parameter destined for Permalink Manager endpoints.
- Temporarily disable the Permalink Manager plugin on production sites where an immediate upgrade is not feasible.
- Enforce a strict Content Security Policy (CSP) that disallows inline script execution to reduce reflected XSS impact.
- Require administrators to use browser sessions isolated from general web browsing when managing WordPress.
# Update Permalink Manager via WP-CLI on the WordPress host
wp plugin update permalink-manager
wp plugin update permalink-manager-pro
wp plugin list --name=permalink-manager --fields=name,status,version
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

