CVE-2025-3472

Ocean Extra <= 2.4.6 - Unauthenticated Arbitrary Shortcode Execution

Published Apr 22, 2025 CVSS 3.1 · 6.5 Medium EPSS 2.0% KEV · Not listed
Description
The Ocean Extra plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 2.4.6. 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 when WooCommerce is also installed and activated.

Analysis

AI-generated

Technical impact

The Ocean Extra plugin contains a flaw that permits unauthenticated users to execute arbitrary shortcodes. The flaw arises because the plugin calls a function that runs user-supplied data through do_shortcode without properly validating the value. Because shortcodes can run PHP functions, this defect enables an attacker to run arbitrary code on the host.

Affected Systems

All release versions of the Ocean Extra plugin for WordPress up to and including 2.4.6 are affected, and the vulnerability is only exploitable when WooCommerce is also installed and activated.

Risk and Exploitability

The vulnerability carries a CVSS score of 6.5, denoting a moderate impact, and an EPSS of 2%, indicating a low likelihood of exploitation. It is not currently listed in the CISA KEV catalog. Attackers can exploit the lack of input validation by injecting a malicious shortcode string that the platform then executes with the privileges of the WordPress site, potentially leading to full code execution, data exfiltration, or service disruption.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Ocean Extra plugin to the latest available version that eliminates the flaw.
  • If an upgrade cannot be performed immediately, temporarily deactivate WooCommerce or prevent it from being active on the site until the issue is patched.
  • Implement input-validation or content-restriction measures that restrict shortcode execution to trusted users only, mitigating the risk of arbitrary code execution through unvalidated shortcodes.

Generated by OpenCVE AI on June 18, 2026 at 07:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-12293 The Ocean Extra plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 2.4.6. 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 when WooCommerce is also installed and activated.
History
Type Values Removed Values Added
First Time appeared Oceanwp
Oceanwp ocean Extra
CPEs cpe:2.3:a:oceanwp:ocean_extra:*:*:*:*:*:wordpress:*:*
Vendors & Products Oceanwp
Oceanwp ocean Extra
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The Ocean Extra plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 2.4.6. 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 when WooCommerce is also installed and activated.
Title Ocean Extra <= 2.4.6 - Unauthenticated Arbitrary Shortcode Execution
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:01 PM
Reserved
Apr 9, 2025, 3:08 PM
Status
Analyzed
Published
Apr 22, 2025, 12:15 PM
Modified
Jun 17, 2026, 9:20 AM