Ninja Forms File Uploads permits unauthenticated same-origin script upload
Ninja Forms through 3.15.1, when the File Uploads add-on is active, mishandles an unmatched Repeater child type. An unauthenticated form submitter can route an unwhitelisted child entry into the upload handler and write attacker-supplied HTML containing JavaScript to a web-server-writable location, including the site root, where it runs from the site's origin.
- Component
- Ninja Forms – The Contact Form Builder That Grows With You
- Plugin slug
ninja-forms- Affected
- <= 3.15.1
- Safe version
- See mitigation notes
- Published
- Sep 05, 2026
This CVE was published Sep 05, 2026 and is one of 74 known issues for this plugin.
Update, patch or deactivate.
Version 3.15.2 is available and may resolve the issue, but its official changelog does not confirm this CVE. Update conservatively, disable affected public forms or the File Uploads add-on until remediation is confirmed, and inspect writable web directories for uploaded HTML.
No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.
Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.
Technical 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.
CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Primary and upstream sources
- NVD record for CVE-2026-19769
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- Wordfence advisory wordfence.com