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-21750 Overview
CVE-2024-21750 is a reflected cross-site scripting (XSS) vulnerability in the Scribit Shortcodes Finder plugin for WordPress. The flaw affects all versions up to and including 1.5.5. The plugin fails to properly neutralize user-supplied input during web page generation, allowing attackers to inject arbitrary scripts that execute in victims' browsers. The issue is categorized under CWE-79 (Improper Neutralization of Input During Web Page Generation).
Exploitation requires user interaction, typically a victim clicking a crafted link. Successful attacks can lead to session theft, credential harvesting, or administrative action abuse within the WordPress environment.
Critical Impact
Attackers can execute arbitrary JavaScript in a victim's browser session, enabling cookie theft, session hijacking, and unauthorized actions against the WordPress site when an authenticated administrator interacts with a malicious link.
Affected Products
- Scribit Shortcodes Finder WordPress plugin versions up to and including 1.5.5
- WordPress sites with the Shortcodes Finder plugin installed and activated
- All WordPress deployments running the vulnerable plugin regardless of underlying WordPress version
Discovery Timeline
- 2024-02-01 - CVE-2024-21750 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-21750
Vulnerability Analysis
The Shortcodes Finder plugin accepts user-controlled input through a request parameter and reflects it back into the rendered HTML response without proper sanitization or output encoding. This behavior allows an attacker to inject HTML and JavaScript payloads that execute in the context of the vulnerable WordPress site.
The reflected XSS pattern requires an attacker to deliver a crafted URL to a target user. When the victim visits the link, the malicious payload is reflected into the page response and executed by the browser. The scope change in the vulnerability's impact assessment indicates that injected scripts can affect resources beyond the immediately vulnerable component.
Root Cause
The root cause is missing input validation and output encoding in the plugin's request handling code. User input is concatenated into HTML output without being escaped using WordPress functions such as esc_html(), esc_attr(), or wp_kses(). This violates WordPress plugin development security guidance and enables script injection.
Attack Vector
The attack is delivered over the network without requiring authentication. The attacker crafts a URL containing a JavaScript payload in a vulnerable parameter and distributes it through phishing emails, chat messages, or malicious websites. When a victim with an active WordPress session clicks the link, the payload executes in the browser.
Typical exploitation targets WordPress administrators to steal authentication cookies, perform cross-site request forgery against administrative endpoints, inject rogue administrator accounts, or deliver secondary payloads such as web shells through the plugin editor.
The vulnerability does not provide a code execution path on the server itself. See the Patchstack CVE Analysis for additional technical context.
Detection Methods for CVE-2024-21750
Indicators of Compromise
- HTTP request logs containing suspicious parameters with URL-encoded <script>, onerror=, or javascript: payloads targeting Shortcodes Finder plugin endpoints
- Unexpected outbound requests from administrator browser sessions to attacker-controlled domains following plugin page visits
- New or modified WordPress administrator accounts created shortly after an admin clicked an external link
Detection Strategies
- Inspect web server access logs for GET requests to Shortcodes Finder plugin paths containing HTML or JavaScript characters such as <, >, ", and '
- Deploy a web application firewall rule set that identifies common reflected XSS payload patterns in query strings
- Monitor WordPress audit logs for anomalous administrator activity following external referrer traffic
Monitoring Recommendations
- Enable Content Security Policy (CSP) reporting to capture script-src violations originating from plugin pages
- Alert on WordPress plugin version inventories showing Shortcodes Finder 1.5.5 or earlier remaining installed
- Track referrer headers on administrative actions to identify requests initiated from external sites
How to Mitigate CVE-2024-21750
Immediate Actions Required
- Deactivate and remove the Scribit Shortcodes Finder plugin until a patched version is confirmed installed
- Audit WordPress administrator accounts for unauthorized additions or privilege changes
- Force password resets and invalidate active sessions for all administrator accounts
- Deploy a web application firewall with XSS filtering rules in front of the WordPress site
Patch Information
At the time of CVE publication, the vulnerability affected Shortcodes Finder through version 1.5.5. Administrators should consult the Patchstack advisory for current patch availability and upgrade to the latest vendor-released version. If no patched version is available, remove the plugin.
Workarounds
- Remove the Shortcodes Finder plugin entirely if a patched release is not yet available from the vendor
- Implement a strict Content Security Policy that blocks inline script execution on WordPress administrative pages
- Restrict access to WordPress administrative endpoints by IP allowlist to limit the attack surface for reflected XSS targeting admins
- Train administrators to avoid clicking untrusted links while authenticated to the WordPress backend
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

