CVE-2024-12238
CVE-2024-12238 is a medium-severity vulnerability in Ninjaforms Ninja Forms with a CVSS 3.x base score of 6.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-94.
Key facts
- Severity: Medium (CVSS 3.x base score 6.3)
- EPSS exploit prediction: 0% (43rd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-50705
- Weakness: CWE-94
- Affected product: Ninjaforms Ninja Forms
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-12238?
- 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.
- How severe is CVE-2024-12238?
- CVE-2024-12238 has a CVSS 3.x base score of 6.3, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability low.
- Is CVE-2024-12238 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (43rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-12238?
- CVE-2024-12238 affects Ninjaforms Ninja Forms. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-12238?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-12238 have an EU (EUVD) identifier?
- Yes. CVE-2024-12238 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-50705.
- When was CVE-2024-12238 published?
- CVE-2024-12238 was published on 2024-12-29 and last updated on 2026-06-17.
References
- https://plugins.trac.wordpress.org/browser/ninja-forms/tags/3.8.20/includes/Display/Preview.php#L68
- https://www.wordfence.com/threat-intel/vulnerabilities/id/524a2143-b15f-4edc-98de-dafef4c5bc00?source=cve
Affected products (1)
- cpe:2.3:a:ninjaforms:ninja_forms:*:*:*:*:*:wordpress:*:*
More vulnerabilities in Ninjaforms Ninja Forms
- CVE-2025-9083 — Critical (CVSS 9.8): The Ninja Forms WordPress plugin before 3.11.1 unserializes user input via form field, which could allow…
- CVE-2016-1209 — Critical (CVSS 9.8): The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks…
- CVE-2018-20981 — Critical (CVSS 9.1): The ninja-forms plugin before 3.3.9 for WordPress has insufficient restrictions on submission-data retrieval during…
- CVE-2024-25572 — High (CVSS 8.8): Cross-site request forgery (CSRF) vulnerability exists in Ninja Forms prior to 3.4.31. If a website administrator views…
- CVE-2021-24163 — High (CVSS 8.8): The AJAX action, wp_ajax_ninja_forms_sendwp_remote_install_handler, did not have a capability check on it, nor did it…
- CVE-2018-16308 — High (CVSS 8.6): The Ninja Forms plugin before 3.3.14.1 for WordPress allows CSV injection.
All CVEs affecting Ninjaforms Ninja Forms →
Other CWE-94 (Code Injection) vulnerabilities
- CVE-2026-71499 — Critical (CVSS 10.0): cf-manager is an all-in-one dashboard for managing multiple Cloudflare accounts and services. Prior to 1.1.2,…
- CVE-2026-78287 — Critical (CVSS 10.0): Improper Control of Generation of Code ('Code Injection') vulnerability in Staggs STAGGS staggs allows Remote Code…
- CVE-2026-115252 — Critical (CVSS 10.0): The Confection WordPress Cable WordPress plugin from 0.4.0 to 0.4.7 does not perform any capability or nonce checks…
- CVE-2026-120338 — Critical (CVSS 10.0): Prefab UI's Generative UI sandbox runs caller-supplied Python inside Pyodide, Python compiled to WebAssembly, in a Deno…
- CVE-2026-61991 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in AjaxLoadMore Cache <= 3.1.1 versions.
- CVE-2026-61564 — Critical (CVSS 10.0): AVideo is a video-sharing Platform. Prior to 8.1.0, the unauthenticated installer endpoint…