# CVE-2024-12238: Ninja Forms – The Contact Form Builder That Grows With You <= 3.8.22 - Authenticated (Subscriber+) Arbitrary Shortcode Execution

- Severity: Medium 6.3 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2024-12-29T05:22:53.627Z
- Modified: 2026-06-17T06:59:18.950Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- kstover Ninja Forms – The Contact Form Builder That Grows With You: up to 3.8.22
- ninjaforms ninja_forms: before 3.8.23

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/524a2143-b15f-4edc-98de-dafef4c5bc00?source=cve> (third-party-advisory)
- <https://plugins.trac.wordpress.org/browser/ninja-forms/tags/3.8.20/includes/Display/Preview.php#L68> (product)

## Sources

- CVE List: [CVE-2024-12238](https://www.cve.org/CVERecord?id=CVE-2024-12238), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2024-12238](https://nvd.nist.gov/vuln/detail/CVE-2024-12238), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-12238 · Whole record: https://cve.day/CVE-2024-12238.json · Rebuilt by cve.day 2026-11-25T22:58:50.546Z
