CVE-2025-3472: CWE-94 Improper Control of Generation of Code ('Code Injection') in oceanwp Ocean Extra
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.
AI Analysis
Technical Summary
CVE-2025-3472 is a code injection vulnerability in the Ocean Extra plugin for WordPress, affecting all versions up to and including 2.4.6. The flaw stems from improper control of code generation, specifically the lack of validation on user-supplied input before executing do_shortcode. This allows unauthenticated attackers to execute arbitrary shortcodes when WooCommerce is active, potentially leading to limited confidentiality and integrity impacts without affecting availability.
Potential Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary shortcodes within the WordPress environment when WooCommerce is installed and activated. This can lead to partial confidentiality and integrity compromise of the affected site. There is no indication of availability impact or widespread exploitation in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed as no official fix or patch links are provided. Users should monitor the vendor's advisory channels for updates and apply any official patches once available. Until then, consider disabling the Ocean Extra plugin or WooCommerce if not required, or restrict access to vulnerable functionality as a temporary measure.
CVE-2025-3472: CWE-94 Improper Control of Generation of Code ('Code Injection') in oceanwp Ocean Extra
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-3472 is a code injection vulnerability in the Ocean Extra plugin for WordPress, affecting all versions up to and including 2.4.6. The flaw stems from improper control of code generation, specifically the lack of validation on user-supplied input before executing do_shortcode. This allows unauthenticated attackers to execute arbitrary shortcodes when WooCommerce is active, potentially leading to limited confidentiality and integrity impacts without affecting availability.
Potential Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary shortcodes within the WordPress environment when WooCommerce is installed and activated. This can lead to partial confidentiality and integrity compromise of the affected site. There is no indication of availability impact or widespread exploitation in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed as no official fix or patch links are provided. Users should monitor the vendor's advisory channels for updates and apply any official patches once available. Until then, consider disabling the Ocean Extra plugin or WooCommerce if not required, or restrict access to vulnerable functionality as a temporary measure.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-04-09T15:08:09.560Z
- Cisa Enriched
- true
Threat ID: 682d984ac4522896dcbf76db
Added to database: 5/21/2025, 9:09:30 AM
Last enriched: 4/9/2026, 5:22:33 PM
Last updated: 5/8/2026, 4:08:25 PM
Views: 148
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.