Shortcode Ajax CVE-2025-14539
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach WordPress AJAX endpoint over network
-
DeliverySubmit crafted shortcode value to vulnerable action
-
ExploitValue passed unvalidated to do_shortcode
-
ExecutionArbitrary shortcode executed in site context
-
ImpactInformation disclosure or code execution
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the Shortcode Ajax plugin (version 1.0 or earlier) to be installed and active on a WordPress site, and the plugin's AJAX action that calls do_shortcode on unvalidated input to be reachable. The practical impact is strictly bounded by which shortcodes are registered on the target: 'arbitrary shortcode execution' only escalates to meaningful code execution or sensitive data exposure if a powerful or dangerous shortcode (e.g., one that runs PHP, queries data, or performs privileged actions) exists on the site; on a site with only benign display shortcodes, impact is limited. A key limiting/ambiguous factor is authentication: the description implies no authentication is needed, but the provided CVSS vector (PR:L) implies a logged-in low-privilege account is required - defenders should confirm this, as it materially changes exposure. |
| Impact | This is a moderate-priority issue that does not rise to emergency patching urgency despite the 'RCE' tag. The input CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N, 5.4 Medium) indicates a network-reachable, low-complexity flaw with only Low confidentiality and integrity impact and no availability impact. There is a CLEAR CONFLICT in the source data: the description states 'unauthenticated attackers' can exploit it, yet the provided CVSS vector encodes PR:L (requiring low-privilege authentication) - these cannot both be literally true, and this should be verified with Wordfence/the vendor. EPSS is low at 0.29% (20th percentile), the CVE is NOT on CISA KEV, and no public exploit code is referenced, so there is no public exploit identified at time of analysis. No SSVC decision data was provided. Taken together, the signals point to a real but non-critical vulnerability: easy to trigger if reachable, but limited impact per the CVSS scope (S:U) and bounded by whatever shortcodes are actually installed on the target. The 'RCE' tag likely overstates impact - arbitrary shortcode execution only yields code execution if a dangerous shortcode (e.g., one allowing PHP or command execution) happens to be registered on the site. |
| Exploit ScenarioDerived | An attacker sends a crafted AJAX request to the vulnerable action exposed by the Shortcode Ajax plugin (versions ≤ 1.0), supplying attacker-controlled input that is passed to do_shortcode without validation. Because the plugin executes the supplied value as a WordPress shortcode, the attacker can invoke any shortcode registered on the site - potentially exposing restricted content, triggering unintended actions, or, if a code-executing shortcode is present, achieving code execution. No public exploit code is referenced, and the attack requires only low complexity over the network. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
The Shortcode Ajax plugin for WordPress (all versions up to and including 1.0) passes an unvalidated request parameter directly into WordPress's do_shortcode() function, allowing an attacker to trigger execution of any shortcode registered on the affected site through the plugin's AJAX action. The practical severity is bounded by the site's own shortcode inventory: on a site with only benign display shortcodes the impact is minimal, while a site with a powerful shortcode that renders data, queries the database, or performs privileged actions could see sensitive data exposure or code execution. EPSS is low at 0.29% (20th percentile) and no public exploit code or confirmed active exploitation was identified at time of analysis; however, the NVD vector (CVSS 3.1, 5.4) carries PR:L while the description and our independent assessment indicate unauthenticated (PR:N) reachability, so defenders should confirm whether the vulnerable AJAX handler is registered for unauthenticated users (wp_ajax_nopriv) before assuming it is safe.
RemediationAI
No vendor-released patch or fixed version could be identified from the available data, so the primary action is to deactivate and uninstall the Shortcode Ajax plugin from every WordPress installation where it is active; if the plugin is still present in the repository, confirm with Wordfence's advisory page (https://www.wordfence.com/threat-intel/vulnerabilities/id/8e2a994f-7a42-4ccb-8fa0-77107ba1150c?source=cve) whether a patched release has since appeared before reinstalling. If business requirements make immediate removal impossible, compensating controls are: block or rate-limit POST requests to wp-admin/admin-ajax.php for the plugin's specific action parameter at the WAF or reverse proxy (trade-off: the AJAX action also stops working for legitimate users), restrict admin-ajax.php access to known IP ranges (trade-off: breaks legitimate front-end AJAX for everyone else), and audit installed plugins and themes to inventory which shortcodes are registered on the site so that any shortcode performing database queries, file operations, or privileged actions is identified as the escalation path and removed or disabled (trade-off: may break site layout or functionality that depends on those shortcodes). Fleet-wide, treat the site as potentially compromised if logs show unexpected admin-ajax.php POSTs referencing the plugin action, and review for unexpected content changes, new administrative users, or outbound connections. Note that none of these compensating controls eliminate the root cause; removal of the plugin is the only reliable fix.
Affected ProductsAI
WordPress sites running the Shortcode Ajax plugin, all versions up to and including 1.0. No CPE string was supplied in the intelligence feed, so the affected component is best identified by plugin slug (shortcode-ajax) rather than by a formal CPE. The vulnerable code path is the do_shortcode call in the plugin's main file, as shown in the WordPress.org Trac source reference https://plugins.trac.wordpress.org/browser/shortcode-ajax/trunk/shortcode-ajax.php#L29. The vendor-coordinated advisory is published by Wordfence at https://www.wordfence.com/threat-intel/vulnerabilities/id/8e2a994f-7a42-4ccb-8fa0-77107ba1150c?source=cve. Because the plugin has no version increment beyond 1.0 referenced in the available data, every known installation of the plugin should be treated as affected until a fixed release is confirmed.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is CWE-94 (Improper Control of Generation of Code / Code Injection) in the WordPress plugin Shortcode Ajax, a component that exposes an AJAX endpoint which invokes WordPress's core do_shortcode() API. do_shortcode() itself is a parser, not a code executor; it expands registered shortcode tags into output produced by each shortcode's callback. The risk arises because the plugin accepts a caller-supplied value, performs no validation or allow-listing of which shortcode tags may be processed, and then hands that value to do_shortcode(). An attacker who can reach the AJAX action can therefore invoke any shortcode the site has registered - including shortcodes contributed by other plugins or the theme - regardless of whether that shortcode was ever intended to be user-triggerable. Reference to the plugin source at shortcode-ajax/trunk/shortcode-ajax.php#L29 in the WordPress.org plugin Trac points to the specific call site that forwards the unvalidated value into the shortcode engine. The classic WordPress AJAX attack surface is admin-ajax.php, and reachability therefore hinges on whether the action is registered only for authenticated sessions (wp_ajax_*) or also for unauthenticated ones (wp_ajax_nopriv_*); this is the central unresolved question in this advisory, since NVD's CVSS vector asserts PR:L (low-privilege authenticated) while the description and our independent assessment assert PR:N (unauthenticated). The 'RCE' tag in the intelligence feed should be read as potential rather than automatic: chaining to actual remote code execution requires that a shortcode present on the target resolves to privileged or code-evaluating behavior.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Description explicitly states unauthenticated exploitation so PR:N (diverging from the input's PR:L); network AJAX endpoint gives AV:N/AC:L, and impact is Low C/I with no availability effect.
Primary rating from Vendor (wordfence).
CVSS VectorVendor: wordfence
DescriptionCVE.org
The The Shortcode Ajax plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 1.0. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB