WordPress Ninja Forms Plugin Arbitrary Shortcode Execution Vulnerability (CVE-2026-100155)
Executive & SecOps Summary
SECOPS ASSESSMENTNinja Forms WordPress plugin versions up to, and including, 3.15.5
Unauthenticated attackers can execute arbitrary WordPress shortcodes, potentially leading to sensitive information disclosure or further exploitation
Immediately update the Ninja Forms plugin to the latest secure version (3.15.6 or higher)
Affected Products & Version Scope
Remediation & Live Workaround Commands
PATCH & WORKAROUND1. Apply Official Security Patch
Update the Ninja Forms plugin to the latest version via the WordPress admin dashboard or using WP-CLI:
# Update via WP-CLI
wp plugin update ninja-forms2. Temporary Mitigation (WAF Rule)
If immediate patching is not feasible, deploy a Web Application Firewall (WAF) rule to inspect and block suspicious AJAX requests containing shortcode syntax ([...]):
- Example ModSecurity Rule:
SecRule REQUEST_URI "/wp-admin/admin-ajax.php" "id:100155,phase:2,deny,status:403,log,msg:'Block Ninja Forms Shortcode Injection Attempt',chain"
SecRule ARGS "@rx \[.+\]"Block Exploits Instantly with Managed Virtual Patching Rules
Can't patch production immediately? Deploy managed WAF rules at the edge to intercept RCE, SQLi, and deserialization payloads before they hit your origin server.
Technical Root Cause & Exploitation Mechanics
The Ninja Forms plugin for WordPress is vulnerable to arbitrary shortcode execution due to insufficient input validation before passing user-supplied data to the do_shortcode() function.
Specifically, the vulnerability resides within the AJAX submission controllers and merge tag processing components (such as Submission.php, MergeTags.php, and SuccessMessage.php). Because the application fails to sanitize or restrict the values processed during form submission, an unauthenticated attacker can craft requests containing malicious shortcode payloads. When executed by the WordPress core engine, these shortcodes can expose sensitive data, bypass access controls, or chain with other vulnerabilities.
Official Vendor Advisories & References
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.
Subscribe to Daily Vulnerability Briefings & KEV Alerts
Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.