CVE-2026-100155

Ninja Forms <= 3.15.5 - Unauthenticated Arbitrary Shortcode Execution via 'formData' Field Value via Success Message Merge Tag

Published Oct 31, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
The The Ninja Forms – Contact Form Builder with Calculators, Quizzes, Signatures & AI Form Builder plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 3.15.5 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.

Analysis

AI-generated

Technical impact

The vulnerability resides in the Ninja Forms WordPress plugin, versions up to 3.15.5, where an unvalidated field value triggers the WordPress shortcode engine. An unauthenticated attacker can submit data that is passed directly to do_shortcode, allowing the execution of arbitrary shortcodes within the context of the website. This can compromise confidentiality by exposing sensitive site data, integrity by altering content or settings, and availability by stressing server resources or injecting malicious scripts. The weakness is a classic code injection scenario, identified as CWE‑94.

Affected Systems

All installations of the Ninja Forms plugin with a version number of 3.15.5 or earlier are affected. The plugin, developed by kstover, provides contact form building, calculators, quizzes, signatures, and AI form building capabilities for WordPress sites. The issue does not appear in version 3.15.6 or later, as the update removes the improper shortcode execution path.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity. The EPSS score is not available, so the current publicly reported exploitation probability is unknown, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is unauthenticated web submission; an attacker can craft an HTTP request targeting the AJAX submission endpoint, inserting any shortcode value into the 'formData' field. Successful exploitation requires only sending a crafted request; no authentication or privileged privileges are necessary, making the risk relatively high for exposed sites.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Ninja Forms plugin to version 3.15.6 or later, which removes the improper shortcode execution path.
  • If an update is not immediately possible, configure the site to disable shortcode execution in form data processing by setting the appropriate security hooks or by sanitizing the 'formData' field before it is passed to do_shortcode.
  • Review and, if necessary, adjust the success message merge tags to avoid exposing raw shortcode content.

Generated by OpenCVE AI on October 31, 2026 at 06:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Kstover
Kstover ninja Forms – Contact Form Builder With Calculators, Quizzes, Signatures & Ai Form Builder
Wordpress-extensions
Wordpress-extensions ninja Forms
Vendors & Products Kstover
Kstover ninja Forms – Contact Form Builder With Calculators, Quizzes, Signatures & Ai Form Builder
Wordpress-extensions
Wordpress-extensions ninja Forms
Type Values Removed Values Added
Description The The Ninja Forms – Contact Form Builder with Calculators, Quizzes, Signatures & AI Form Builder plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 3.15.5 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.
Title Ninja Forms <= 3.15.5 - Unauthenticated Arbitrary Shortcode Execution via 'formData' Field Value via Success Message Merge Tag
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Nov 2, 2026, 2:50 PM
Reserved
Sep 25, 2026, 12:17 PM
Status
Deferred
Published
Oct 31, 2026, 6:16 AM
Modified
Nov 2, 2026, 4:19 PM