Ninja Forms <= 3.14.9 - Authenticated (Administrator+) SQL Injection via Import File 'settings' Key
Strategic Overview
- Status
- Patched in 3.14.10
- Affected Plugin
- Ninja Forms – The Contact Form Builder That Grows With You
- Affected Version
<= 3.14.9- CVSS
- 4.9Medium
- Weakness type
- CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
- CVE
CVE-2026-15663
At a glance
CVE-2026-15663 is a medium-severity Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in the Ninja Forms WordPress plugin, affecting versions <= 3.14.9. It carries a CVSS score of 4.9 (reachable over the network; low attack complexity; high confidentiality impact). Exploitation requires an authenticated account at Administrator level or above. The issue is fixed in version 3.14.10; sites on affected versions should update now. Disclosed July 2026, reported by Wordfence PRISM.
Vulnerability Overview
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.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user. A successful exploit has high impact on confidentiality.
CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Ninja Forms <= 3.14.9 carries this weakness at settings, and reaching it takes an account at Administrator level or above. SQL injection happens when request data is concatenated into a query instead of being bound as a parameter, letting an attacker change the structure of the statement rather than just its values.
A working injection can read any table the database user can see, which on a WordPress install means user records, password hashes and session or API secrets stored in options. For Ninja Forms the fix is 3.14.10: builds <= 3.14.9 are affected, anything from 3.14.10 onward is not.
Remediation
Update to version 3.14.10, or a newer patched version
How does WordSec protect against this?
An attacker needs Administrator access first, so the firewall sees the attempt as traffic from a logged-in account: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: Ninja Forms 3.14.10 closes this, and updating the plugin is the step that ends it.
- Firewall
- Alerts
External References
Related records
Same weakness class
Other vulnerabilities in Ninja Forms – The Contact Form Builder That Grows With You
- 9.8Ninja Forms Contact Form Code Injection
- 9.8CVE-2016-1209: Ninja Forms Contact Form… Arbitrary File Upload
CVE-2016-1209 - 9.1CVE-2018-20981: Ninja Forms Insufficient Restrictions during Export
CVE-2018-20981 - 8.8Ninja Forms Contact Form CSRF to Field Import and PHP Object Injection
- 8.8CVE-2021-24163: Ninja Forms Contact Form SendWP Plugin Installation
CVE-2021-24163 - 8.8CVE-2020-36174: Ninja Forms Contact Form CSRF to Plugin Installation
CVE-2020-36174 - 8.6CVE-2018-16308: Ninja Forms Contact Form <= 3.3.13 CSV Injection
CVE-2018-16308 - 8.4Ninja Forms Contact Form <= 2.9.27 CSV Injection
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C