CVE-2026-101326: Ninja Forms arbitrary shortcode execution via merge tags

CVE-2026-101326 · Severity: medium · CVSS 5.4 · Published 2026-10-31

Ninja Forms is a WordPress plugin for building contact forms with advanced features like calculators and quizzes. The plugin allows authenticated users with low-level subscriber access to execute arbitrary WordPress shortcodes by setting their display name to malicious code, potentially leading to unauthorized actions, data exposure, or site compromise. The attack requires an administrator to have previously configured a form field to use the user display name as a default value.

Technologies: Ninja Forms. Vendors: Ninja Forms.

Quick answers

Is CVE-2026-101326 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-101326 being exploited in the wild.
How severe is CVE-2026-101326?
Medium severity, with a CVSS score of 5.4, published 31 October 2026.
Which products and versions are affected?
Ninja Forms up to 3.15.5.
Is there a fix for CVE-2026-101326?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-101326 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-101326?
Check whether you run Ninja Forms at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability is an arbitrary shortcode execution flaw in Ninja Forms versions up to 3.15.5. When a form field is configured with the {wp:user_display_name} merge tag as its default value, the plugin fails to properly validate user input before passing it to do_shortcode(). An authenticated subscriber can set their WordPress profile display name to contain malicious shortcode strings; when they visit a page with the vulnerable form, their display name is processed as shortcode and executed. This requires prior form configuration by an administrator but allows escalation from subscriber-level access.

Affected products

  • Ninja Forms Ninja Forms up to 3.15.5

Timeline

  • 2026-10-31: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.