Vulnerability · Published Jul 24, 2026 · Assigned by Wordfence
CVE-2026-15663Ninja Forms <= 3.14.9 - Authenticated (Administrator+) SQL Injection via Import File 'settings' Key
Medium 4.9
In plain English
A medium-severity SQL injection in Ninja Forms – The Contact Form Builder That Grows With You from kstover. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities).
Official description
The Ninja Forms – The Contact Form Builder That Grows With You plugin for WordPress is vulnerable to generic SQL Injection via Import File 'settings' Key in all versions up to, and including, 3.14.9 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The vulnerable keys originate from the 'settings' object in an attacker-controlled import file processed via file_get_contents() or base64-decoded/JSON-decoded blobs, bypassing wp_magic_quotes protections entirely; two distinct sinks are affected — _save_setting() in Model.php and insert_form_meta() in ImportForm.php — as only the value side is escaped while the key side receives no sanitization or parameterization at any point in the call chain.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| kstover | Ninja Forms – The Contact Form Builder That Grows With You | 0 – through 3.14.9 |
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/2fda47d8-8e8c-4103-aabb-c70935e13450?source=cve
- https://plugins.trac.wordpress.org/browser/ninja-forms/tags/3.14.9/includes/Abstracts/Model.php#L714
- https://plugins.trac.wordpress.org/browser/ninja-forms/tags/3.14.9/includes/Admin/Processes/ImportForm.php#L357
- https://plugins.trac.wordpress.org/browser/ninja-forms/tags/3.14.9/includes/Admin/Menus/ImportExport.php#L63
- https://plugins.trac.wordpress.org/browser/ninja-forms/tags/3.14.9/includes/AJAX/REST/BatchProcess.php#L41
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3614986%40ninja-forms&new=3614986%40ninja-forms