CVE-2024-9581: CWE-94 Improper Control of Generation of Code ('Code Injection') in happyplugins Shortcodes AnyWhere
The Shortcodes AnyWhere plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 1.0.1. 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.
AI Analysis
Technical Summary
CVE-2024-9581 is a code injection vulnerability in the Shortcodes AnyWhere WordPress plugin (versions up to 1.0.1). The flaw arises from improper validation of user-supplied input before invoking the do_shortcode function, which processes WordPress shortcodes. This allows unauthenticated attackers to execute arbitrary shortcodes, potentially leading to information disclosure, integrity violations, or availability impacts. The vulnerability is classified under CWE-94 and has a CVSS 3.1 base score of 7.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L). No patch or vendor advisory is currently available, and the plugin is not a cloud service.
Potential Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary shortcodes within the vulnerable WordPress environment. This can lead to limited confidentiality, integrity, and availability impacts as indicated by the CVSS vector. The exact consequences depend on the shortcodes executed but may include unauthorized content rendering or execution of unintended code paths within WordPress.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider disabling or removing the Shortcodes AnyWhere plugin if it is not essential. Monitor official happyplugins communications for updates and patches addressing this vulnerability.
CVE-2024-9581: CWE-94 Improper Control of Generation of Code ('Code Injection') in happyplugins Shortcodes AnyWhere
Description
The Shortcodes AnyWhere plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 1.0.1. 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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-9581 is a code injection vulnerability in the Shortcodes AnyWhere WordPress plugin (versions up to 1.0.1). The flaw arises from improper validation of user-supplied input before invoking the do_shortcode function, which processes WordPress shortcodes. This allows unauthenticated attackers to execute arbitrary shortcodes, potentially leading to information disclosure, integrity violations, or availability impacts. The vulnerability is classified under CWE-94 and has a CVSS 3.1 base score of 7.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L). No patch or vendor advisory is currently available, and the plugin is not a cloud service.
Potential Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary shortcodes within the vulnerable WordPress environment. This can lead to limited confidentiality, integrity, and availability impacts as indicated by the CVSS vector. The exact consequences depend on the shortcodes executed but may include unauthorized content rendering or execution of unintended code paths within WordPress.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider disabling or removing the Shortcodes AnyWhere plugin if it is not essential. Monitor official happyplugins communications for updates and patches addressing this vulnerability.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-10-07T14:09:09.152Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6b52b7ef31ef0b55220d
Added to database: 2/25/2026, 9:36:18 PM
Last enriched: 4/9/2026, 3:32:35 PM
Last updated: 4/11/2026, 5:00:09 PM
Views: 13
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.