Description
The Ninja Forms – The Contact Form Builder That Grows With You plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Repeater Child 'type' Confusion via Unmatched Array Key in all versions up to, and including, 3.15.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires the Ninja Forms File Uploads add-on to be active, as the attack routes the unwhitelisted child entry through the File Uploads handler to write an attacker-supplied HTML file containing arbitrary JavaScript into any web-server-writable directory, including the site root, where it is served from the site's own origin.
Published: 2026-09-05
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises from a mismatch of array keys in Ninja Forms 3.15.1 and earlier, which causes the Repeater Child 'type' field to be misinterpreted. This mistake bypasses the plugin’s sanitization and allows an unauthenticated attacker to inject arbitrary JavaScript into an HTML file. The stored script is then served from the site’s own origin, enabling defacement, cookie theft, or redirect to malicious sites. The flaw requires the Ninja Forms File Uploads add‑on to be active, as it routes the unvalidated data to the file‑upload handler that writes the malicious payload into any web‑writable directory, including the site root.

Affected Systems

The issue affects all releases of the Ninja Forms WordPress contact form builder up to and including version 3.15.1 where the File Uploads add‑on is enabled. Disabled File Uploads or versions newer than 3.15.1 are not impacted.

Risk and Exploitability

The CVSS score of 7.2 places the issue in the high‑severity range. The vulnerability is not catalogued in the CISA KEV, and EPSS information is currently unavailable; however, the lack of an authentication requirement and the need for only the File Uploads component suggest that it could be widely exploitable. An attacker can submit a form from any IP address, causing a script that will run for any visitor to the affected page. Sites that expose the File Uploads add‑on or deploy Ninja Forms in default writable directories face the highest risk.

Generated by OpenCVE AI on September 5, 2026 at 07:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Ninja Forms to version 3.15.2 or later, which removes the array‑key mismatch and applies proper input sanitization.
  • If the File Uploads add‑on is not required, disable or uninstall it entirely to eliminate the attack surface.
  • As a temporary measure, restrict write permissions for the directory used by the File Uploads handler so that the plugin cannot place executable files in a publicly accessible location.

Generated by OpenCVE AI on September 5, 2026 at 07:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 05 Sep 2026 07:45:00 +0000

Type Values Removed Values Added
First Time appeared Kstover
Kstover ninja Forms – The Contact Form Builder That Grows With You
Wordpress
Wordpress wordpress
Vendors & Products Kstover
Kstover ninja Forms – The Contact Form Builder That Grows With You
Wordpress
Wordpress wordpress

Sat, 05 Sep 2026 06:45:00 +0000

Type Values Removed Values Added
Description The Ninja Forms – The Contact Form Builder That Grows With You plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Repeater Child 'type' Confusion via Unmatched Array Key in all versions up to, and including, 3.15.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires the Ninja Forms File Uploads add-on to be active, as the attack routes the unwhitelisted child entry through the File Uploads handler to write an attacker-supplied HTML file containing arbitrary JavaScript into any web-server-writable directory, including the site root, where it is served from the site's own origin.
Title Ninja Forms <= 3.15.1 - Unauthenticated Stored Cross-Site Scripting via Repeater Child 'type' Confusion via Unmatched Array Key
Weaknesses CWE-79
References
Metrics cvssV3_1

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


Subscriptions

Kstover Ninja Forms – The Contact Form Builder That Grows With You
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-09-05T06:37:56.376Z

Reserved: 2026-08-13T17:12:29.228Z

Link: CVE-2026-19769

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-05T07:17:11.333

Modified: 2026-09-05T07:17:11.333

Link: CVE-2026-19769

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T08:00:06Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')