Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach vulnerable Ocean Extra action remotely
-
ExploitSubmit unvalidated shortcode payload
-
ExecutionServer executes arbitrary shortcode via do_shortcode
-
ImpactDisclose data or alter output
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 that the vulnerable Ocean Extra action/endpoint be reachable (the plugin active on the target WordPress site, versions ≤2.6.0) and that attacker input reach do_shortcode without validation; actual impact is bounded by which shortcodes are registered on the site, since only registered shortcodes will execute. Per the CVSS vector (PR:N/UI:N), no authentication and no user interaction are required, and the attack is over the network against a default installation, so the primary limiting factors are the plugin being installed/active and the set of available shortcodes determining how useful execution is - not any special non-default configuration. |
| Impact | This is a genuine but moderate-priority issue rather than a critical emergency. The CVSS vector (AV:N/AC:L/PR:N/UI:N) describes a remotely reachable, low-complexity, unauthenticated flaw, which normally elevates urgency, but the impact metrics are deliberately constrained to C:L/I:L/A:N - partial confidentiality and integrity impact with no availability impact - capping the base score at 6.5 (Medium). The vulnerability is arbitrary shortcode execution (CWE-94) via an action that fails to validate input before calling do_shortcode, so real-world impact depends heavily on which shortcodes are registered on the target site rather than guaranteeing full code execution. No EPSS score, no CISA KEV listing, and no public POC were provided in the input, so there is no signal of active or probable exploitation; the 'RCE' tag overstates the confirmed impact, which the CVSS low/low metrics do not support. No SSVC decision data was supplied. Net: treat as a patch-soon web vulnerability - unauthenticated and network-reachable (raising scan/mass-exploitation potential for a popular plugin), but the limited, shortcode-dependent impact and absence of any exploitation evidence argue against treating it as a drop-everything incident. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted request to the vulnerable Ocean Extra action, supplying attacker-controlled content that is passed unvalidated into do_shortcode, causing arbitrary WordPress shortcodes to be executed in the site context. Depending on which shortcodes are registered by the theme and other plugins, this could expose data or alter rendered output (consistent with the C:L/I:L impact). No public exploit code was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 15, 2026
Unauthenticated shortcode injection in the Ocean Extra plugin for WordPress (all versions up to and including 2.6.0) lets remote attackers pass attacker-controlled values into the WordPress do_shortcode() function without proper validation, causing arbitrary registered shortcodes to execute. Per the assessed CVSS vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N, score 6.5), no authentication and no user interaction are required, but real-world impact is bounded by which shortcodes are actually registered on the target site; the practical severity is therefore moderate rather than critical, and no public exploit code or confirmed active exploitation was identified at time of analysis. Note that the OceanWP/Ocean Extra vendor advisory and an upstream code changeset are the primary available intelligence, and no vendor-released fixed version number is independently confirmed.
RemediationAI
The primary fix is to move off the vulnerable code: the referenced upstream changeset (https://plugins.trac.wordpress.org/changeset/3689650/ocean-extra/trunk/includes/panel/library-shortcode.php) modifies the library-shortcode handling to correct the missing validation, so this is an upstream fix available (PR/commit); a released patched version number is not independently confirmed from the available data, meaning administrators should check the WordPress.org plugin page and the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/3863cc3a-7532-4925-9b59-909cfd45501a?source=cve) for a version newer than 2.6.0 and update as soon as one appears, or backport the changeset's validation to library-shortcode.php if they maintain a pinned/forked copy. If no fixed release is yet installable, deactivate Ocean Extra on internet-facing sites - the trade-off is that OceanWP's companion widgets, custom post types, metaboxes and bundled shortcodes stop functioning, which may visibly degrade the theme layout. A narrower compensating control is to restrict exposure of the plugin's shortcode-rendering action at the edge (WAF/webserver rule blocking POST/PUT requests carrying shortcode payloads to that action) and to disable unused plugins whose shortcodes add dangerous callbacks, since the achievable impact is limited to shortcodes actually registered on the site; these are partial mitigations only and can be bypassed through request encoding and parameter-name variation, so they should not substitute for patching. Because the vector is PR:N/UI:N, IP-allowlisting or authentication cannot be assumed to reduce exposure without first confirming where the endpoint is reachable, and the impact of successful exploitation should be assessed per-site based on the shortcode registry.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-94 (Improper Control of Generation of Code / Code Injection) in the WordPress plugin Ocean Extra, identified by CPE cpe:2.3:a:oceanwp:ocean_extra:*:*:*:*:*:*:*:* (wildcard version, i.e. the entire affected line). WordPress's shortcode API is a text-substitution mechanism: content is stored with bracketed tags such as [gallery], and the function do_shortcode() parses that content, looks up each tag in the global $shortcode_tags registry, and invokes the matching callback. Because shortcode callbacks are ordinary PHP functions with their own capabilities and side effects - and because many plugins (including Ocean Extra and WooCommerce-style add-ons) register shortcodes that render admin-only data or accept attributes that reach internal functions - calling do_shortcode() on unvalidated, attacker-supplied input effectively turns the shortcode registry into a remotely callable function surface. In this case the vulnerable path is the plugin's library-shortcode handling (includes/panel/library-shortcode.php, touched by upstream changeset 3689650), where a user-supplied value reaches do_shortcode() without an allowlist or sanitization. The critical nuance, and the reason the assessed confidentiality and integrity impacts are Low rather than High, is that only shortcodes already registered in that WordPress installation will execute; the attacker cannot invent new callbacks, so exploitability is a function of the installed theme/plugin mix, not of a universally available primitive.
Know when Ocean Extra 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:N/UI:N/S:U/C:L/I:L/A:N
Unauthenticated network-reachable action with no user interaction (AV:N/AC:L/PR:N/UI:N); impact limited to partial confidentiality/integrity via shortcode execution (C:L/I:L), with no availability effect.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The The Ocean Extra plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 2.6.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 Ocean Extra
View allThe Ocean Extra plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including
includes/wizard/wizard.php in the Ocean Extra plugin through 1.5.8 for WordPress allows unauthenticated options changes
The Ocean Extra WordPress plugin before 2.0.5 unserialises the content of an imported file, which could lead to PHP obje
The Ocean Extra WordPress plugin before 2.1.3 does not ensure that the template to be loaded via a shortcode is actually
The Ocean Extra plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 1.6.5
The Ocean Extra plugin for WordPress is vulnerable to Stored Cross-Site Scripting via custom fields in all versions up t
The Ocean Extra plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘twitter_username’ parameter i
The Ocean Extra plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'oceanwp_icon' shortc
The Ocean Extra plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'ocean_gallery_id’ parameter i
Multiple plugins and/or themes for WordPress are vulnerable to Reflected Cross-Site Scripting via the url parameter in v
Cross-Site Request Forgery (CSRF) vulnerability in OceanWP Ocean Extra.2.2. Rated medium severity (CVSS 5.4), this vulne
Missing authorization in OceanWP Ocean Extra plugin versions through 2.5.3 allows authenticated users to bypass access c
EUVD-2026-101839
GHSA-p2wh-5jr9-79p4
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB