Skip to main content

Shortcode Ajax CVE-2025-14539

MEDIUM
Code Injection (CWE-94)
2025-12-13 security@wordfence.com
5.4
CVSS 3.1 · Vendor: wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach WordPress AJAX endpoint over network
  2. Delivery
    Submit crafted shortcode value to vulnerable action
  3. Exploit
    Value passed unvalidated to do_shortcode
  4. Execution
    Arbitrary shortcode executed in site context
  5. Impact
    Information 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (wordfence) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (wordfence).

CVSS VectorVendor: wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
obscure WordPress plugin, versions only up to 1.0, tiny install base
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

CVE-2024-50498 CRITICAL POC
10.0 Oct 28

Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy