Ninja Forms <= 3.15.5 - Authenticated (Subscriber+) Arbitrary Shortcode Execution via '{wp:user_display_name}' Merge Tag via display_name
Summary
| CVE | CVE-2026-101326 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-31 06:16:31 UTC |
| Updated | 2026-10-31 06:16:31 UTC |
| 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 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. |
Risk And Classification
Primary CVSS: v3.1 5.4 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Problem Types: CWE-94 | CWE-94 CWE-94 Improper Control of Generation of Code
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Kstover | Ninja Forms Contact Form Builder With Calculators Quizzes Signatures AI Form Builder | affected 3.15.5 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| plugins.trac.wordpress.org/browser/ninja-forms/tags/3.15.4/includes/Display/Render.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/ninja-forms/tags/3.15.4/includes/MergeTags/WP.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/ninja-forms/tags/3.15.4/includes/Config/MergeTagsWP.php | [email protected] | plugins.trac.wordpress.org | |
| wordpress.org/plugins/ninja-forms | [email protected] | wordpress.org | |
| plugins.trac.wordpress.org/changeset/3749135/ninja-forms/trunk/includes/Display/Render.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/ninja-forms/tags/3.15.4/includes/Display/Render.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/ninja-forms/tags/3.15.4/includes/Abstracts/MergeTags.php | [email protected] | plugins.trac.wordpress.org | |
| www.wordfence.com/threat-intel/vulnerabilities/id/05dccb32-e638-4929-a788-3998b... | [email protected] | www.wordfence.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Iron StrongMan (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-09-28T14:11:24.000Z | Vendor Notified |
| CNA | 2026-10-30T17:25:29.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.