---
id: CVE-2026-101326
title: >-
  Ninja Forms <= 3.15.5 - Authenticated (Subscriber+) Arbitrary Shortcode
  Execution via '{wp:user_display_name}' Merge Tag via display_name
summary: >-
  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 softwa…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-94
vendor: kstover
product: >-
  Ninja Forms – Contact Form Builder with Calculators, Quizzes, Signatures & AI
  Form Builder
affected:
  - >-
    ninja_forms_contact_form_builder_with_calculators_quizzes_signatures_ai_form_builder
    <= 3.15.5
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T15:22:44.174075Z'
published: '2026-10-31'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T15:22:54.356Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-101326'
references:
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/05dccb32-e638-4929-a788-3998bc3acd75?source=cve
  - url: >-
      https://plugins.trac.wordpress.org/browser/ninja-forms/tags/3.15.4/includes/MergeTags/WP.php#L189
  - url: >-
      https://plugins.trac.wordpress.org/browser/ninja-forms/tags/3.15.4/includes/Display/Render.php#L278
  - url: >-
      https://plugins.trac.wordpress.org/browser/ninja-forms/tags/3.15.4/includes/Display/Render.php#L268
  - url: >-
      https://plugins.trac.wordpress.org/browser/ninja-forms/tags/3.15.4/includes/Config/MergeTagsWP.php#L128
  - url: >-
      https://plugins.trac.wordpress.org/browser/ninja-forms/tags/3.15.4/includes/Abstracts/MergeTags.php#L94
  - url: 'https://wordpress.org/plugins/ninja-forms/'
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3749135/ninja-forms/trunk/includes/Display/Render.php
tags:
  - cve.org
epss: 0.00371
epssPercentile: 0.31258
ingestedAt: '2026-11-05T21:36:00.896Z'
---

## Overview

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 authenticated attackers, with subscriber-level access and above, to execute arbitrary shortcodes. Exploitation requires that an administrator has configured at least one Ninja Forms field with its Default Value set to the {wp:user_display_name} merge tag on a publicly accessible page; a Subscriber need only set their display_name to a shortcode string via their profile and then visit that page.

## Affected

- `ninja_forms_contact_form_builder_with_calculators_quizzes_signatures_ai_form_builder <= 3.15.5`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
