CVE-2024-12238: CWE-94 Improper Control of Generation of Code ('Code Injection') in kstover Ninja Forms – The Contact Form Builder That Grows With You
The The Ninja Forms – The Contact Form Builder That Grows With You plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 3.8.22. 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 authenticated attackers, with Subscriber-level access and above, to execute arbitrary shortcodes.
AI Analysis
Technical Summary
CVE-2024-12238 is a code injection vulnerability (CWE-94) in the Ninja Forms WordPress plugin by kstover, affecting all versions up to and including 3.8.22. The flaw arises from improper validation of user-supplied input before executing do_shortcode, enabling authenticated users with Subscriber-level privileges or higher to run arbitrary shortcodes. This can lead to limited confidentiality, integrity, and availability impacts as indicated by the CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L). There is no vendor advisory or patch link currently available, and no known exploits in the wild have been reported.
Potential Impact
An attacker with at least Subscriber-level access can exploit this vulnerability to execute arbitrary shortcodes within the WordPress environment. This may allow limited unauthorized actions affecting confidentiality, integrity, and availability of the affected site. The impact is considered medium severity based on the CVSS score of 6.3. There is no evidence of active exploitation in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict user roles and permissions to trusted users only, especially limiting Subscriber-level users from untrusted sources. Monitor for updates from the plugin vendor or WordPress security channels to apply any forthcoming patches promptly.
CVE-2024-12238: CWE-94 Improper Control of Generation of Code ('Code Injection') in kstover Ninja Forms – The Contact Form Builder That Grows With You
Description
The The Ninja Forms – The Contact Form Builder That Grows With You plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 3.8.22. 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 authenticated attackers, with Subscriber-level access and above, to execute arbitrary shortcodes.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-12238 is a code injection vulnerability (CWE-94) in the Ninja Forms WordPress plugin by kstover, affecting all versions up to and including 3.8.22. The flaw arises from improper validation of user-supplied input before executing do_shortcode, enabling authenticated users with Subscriber-level privileges or higher to run arbitrary shortcodes. This can lead to limited confidentiality, integrity, and availability impacts as indicated by the CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L). There is no vendor advisory or patch link currently available, and no known exploits in the wild have been reported.
Potential Impact
An attacker with at least Subscriber-level access can exploit this vulnerability to execute arbitrary shortcodes within the WordPress environment. This may allow limited unauthorized actions affecting confidentiality, integrity, and availability of the affected site. The impact is considered medium severity based on the CVSS score of 6.3. There is no evidence of active exploitation in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict user roles and permissions to trusted users only, especially limiting Subscriber-level users from untrusted sources. Monitor for updates from the plugin vendor or WordPress security channels to apply any forthcoming patches promptly.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-12-05T12:01:07.636Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6e32b7ef31ef0b5979d3
Added to database: 2/25/2026, 9:48:34 PM
Last enriched: 4/9/2026, 12:39:30 PM
Last updated: 4/11/2026, 4:55:33 PM
Views: 14
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.