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-11366 Overview
CVE-2024-11366 is a Reflected Cross-Site Scripting (XSS) vulnerability affecting the SEO Landing Page Generator plugin for WordPress. The flaw exists in all versions up to and including 1.66.2. It stems from the use of add_query_arg without proper escaping on the URL, as identified by [CWE-79]. Unauthenticated attackers can inject arbitrary web scripts that execute in a victim's browser when the victim is tricked into clicking a crafted link. Successful exploitation can lead to session theft, credential harvesting, or administrative actions performed in the context of the targeted user.
Critical Impact
Unauthenticated attackers can execute arbitrary JavaScript in a victim's browser session, enabling account takeover of WordPress administrators through social engineering.
Affected Products
- SEO Landing Page Generator plugin for WordPress (all versions ≤ 1.66.2)
- WordPress sites with the plugin installed and activated
- Administrative users accessing crafted URLs containing the plugin's vulnerable parameters
Discovery Timeline
- 2024-11-28 - CVE CVE-2024-11366 published to the National Vulnerability Database (NVD)
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-11366
Vulnerability Analysis
The vulnerability is a Reflected Cross-Site Scripting flaw in the administrative interface of the SEO Landing Page Generator plugin. The plugin invokes WordPress's add_query_arg() function to construct URLs for form actions and navigation links without first escaping the current request URL. When WordPress's add_query_arg() is called with no explicit URL argument, it uses $_SERVER['REQUEST_URI'], which is attacker-controlled. The returned URL is then printed into the HTML response without passing through esc_url() or esc_attr(), allowing injected markup to break out of attribute contexts and execute JavaScript.
According to the vendor's source tree, the unsafe calls appear in admin/class-issslpg-admin-location-settings-page.php at lines 185, 330, and 433. See the WordPress Plugin Code Review for the vulnerable sinks.
Root Cause
The root cause is missing output encoding on a reflected request parameter. add_query_arg() is widely misunderstood as a sanitization function, but it only manipulates query strings. The plugin trusted its output and emitted it directly into HTML, enabling attribute-breakout injection via characters such as ", ', and >.
Attack Vector
The attack requires user interaction. An attacker crafts a URL to an administrative page of a vulnerable WordPress site that embeds XSS payload characters in the request URI. The attacker then delivers the link through phishing, forum posts, or chat. When an authenticated administrator opens the link, the payload reflects into the page and executes under the site's origin. From there, the attacker can create new administrator accounts, exfiltrate nonces, or modify site content. The EPSS score for this CVE is 0.445%.
No verified public exploit code is available at this time. Technical details are referenced in the Wordfence Vulnerability Report.
Detection Methods for CVE-2024-11366
Indicators of Compromise
- HTTP requests to WordPress admin pages containing encoded script tags, onerror=, onload=, or javascript: payloads in the query string or URI path
- Unexpected administrator account creations, plugin installations, or option changes following administrator access to external links
- Browser console errors or outbound requests from administrator sessions to attacker-controlled domains
- Web server access logs showing requests to issslpg admin endpoints with abnormally long or encoded parameters
Detection Strategies
- Inspect web application firewall (WAF) logs for reflected XSS signatures targeting WordPress wp-admin endpoints associated with the seo-landing-page-generator plugin
- Correlate administrator session activity with recent clicks on external referrers to identify suspicious workflows
- Hunt for the string issslpg in request URIs combined with HTML metacharacters such as <, >, or %3C
Monitoring Recommendations
- Enable verbose logging on WordPress admin requests and forward logs to a centralized SIEM for retention and query
- Monitor for new user creation events, role elevations, and plugin changes performed shortly after an admin loads an external URL
- Alert on anomalous outbound connections initiated by browsers of users with WordPress administrator roles
How to Mitigate CVE-2024-11366
Immediate Actions Required
- Identify all WordPress sites with the SEO Landing Page Generator plugin installed and determine the installed version
- Deactivate the plugin on any site running version 1.66.2 or earlier until a patched release is applied
- Instruct WordPress administrators to avoid clicking untrusted links while authenticated to the admin console
- Review the Wordfence Vulnerability Report for the latest fixed-version guidance
Patch Information
The vendor committed a fix referenced in the WordPress Plugin Changeset at revision 3197642. Administrators should upgrade the plugin to the latest version available in the WordPress Plugin Directory, which applies esc_url() to the output of add_query_arg().
Workarounds
- Deploy a WAF rule that blocks HTML metacharacters in query strings targeting the plugin's admin endpoints
- Restrict access to /wp-admin/ via IP allowlisting or VPN to reduce the delivery surface for reflected XSS links
- Enforce a strict Content Security Policy (CSP) that disallows inline scripts, limiting payload execution even if injection succeeds
- Require multi-factor authentication for all WordPress administrator accounts to limit the impact of session hijack
# Example WAF rule (ModSecurity) to block script-like payloads on vulnerable endpoint
SecRule REQUEST_URI "@contains issslpg" \
"chain,id:1004111366,phase:1,deny,status:403,msg:'Potential CVE-2024-11366 XSS'"
SecRule ARGS|REQUEST_URI "@rx (?i)(<script|onerror=|onload=|javascript:)" "t:urlDecodeUni"
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

