WordPress security changelog
MEDIUM CVE-2024-12238 Analyzed

The Ninja Forms – The Contact Form Builder That Grows With You: A security weakness

The Ninja Forms – The Contact Form Builder That Grows With You is affected by a security weakness. Exploitation requires at least subscriber-level access. The resulting impact depends on how the affected component exposes the vulnerable operation.

CVE / CNA score 6.3 CVSS 3.1 · security@wordfence.com
NVD score Pending NVD has not published its own CVSS assessment.
Component
The Ninja Forms – The Contact Form Builder That Grows With You
Plugin slug
ninja-forms
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Dec 29, 2024
Weakness
CWE-94 — Improper Control of Generation of Code ('Code Injection')

This CVE was published Dec 29, 2024 and is one of 66 known issues for this plugin.

Update, patch or deactivate.

Update The Ninja Forms – The Contact Form Builder That Grows With You to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

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

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Primary and upstream sources