# CVE-2026-15663: Ninja Forms SQL injection in form import settings

Source: https://junglewise.ai/threats/cve-2026-15663-ninja-forms-sql-injection-in-form-import-settings  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-24. Updated: 2026-07-24  
License: CC BY 4.0 with a link back

CVE-2026-15663 · Severity: medium · CVSS 4.9 · Published 2026-07-24

Ninja Forms, a popular WordPress plugin used for building contact forms, contains a security vulnerability in its form import feature. An attacker with administrator-level access could upload a specially crafted import file to execute unauthorized database commands. This could allow the attacker to extract sensitive information from the website's database, potentially compromising user data or site configuration.

Technologies: [Saturday Drive Ninja Forms](https://junglewise.ai/threats/technologies/ninja-forms). Vendors: [Saturday Drive](https://junglewise.ai/threats/vendors/saturday-drive).

## Quick answers

**Is CVE-2026-15663 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-15663 being exploited in the wild.

**How severe is CVE-2026-15663?** Medium severity, with a CVSS score of 4.9, published 24 July 2026.

**Which products and versions are affected?** Saturday Drive Ninja Forms up to, and including, 3.14.9.

**Is there a fix for CVE-2026-15663?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-15663 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-15663?** Check whether you run Saturday Drive Ninja Forms at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The Ninja Forms plugin for WordPress is vulnerable to a generic SQL Injection via the 'settings' key in form import files in versions up to 3.14.9. The vulnerability exists because the plugin fails to sanitize or parameterize the key side of the 'settings' object during the import process, even though the value side is escaped. Specifically, the sinks _save_setting() in Model.php and insert_form_meta() in ImportForm.php are affected. Because the data is processed via file_get_contents() or decoded from JSON/base64 blobs, it bypasses standard WordPress magic quotes protections. An authenticated attacker with administrator privileges can exploit this to append SQL queries and extract sensitive information from the database.

## Affected products

- kstover Ninja Forms – The Contact Form Builder That Grows With You up to, and including, 3.14.9

## Timeline

- 2026-07-24: advisory: Advisory published by Wordfence and NVD

## References

- [https://plugins.trac.wordpress.org/browser/ninja-forms/tags/3.14.9/includes/AJAX/REST/BatchProcess.php](https://plugins.trac.wordpress.org/browser/ninja-forms/tags/3.14.9/includes/AJAX/REST/BatchProcess.php)
- [https://plugins.trac.wordpress.org/browser/ninja-forms/tags/3.14.9/includes/Abstracts/Model.php](https://plugins.trac.wordpress.org/browser/ninja-forms/tags/3.14.9/includes/Abstracts/Model.php)
- [https://plugins.trac.wordpress.org/browser/ninja-forms/tags/3.14.9/includes/Admin/Menus/ImportExport.php](https://plugins.trac.wordpress.org/browser/ninja-forms/tags/3.14.9/includes/Admin/Menus/ImportExport.php)
- [https://plugins.trac.wordpress.org/browser/ninja-forms/tags/3.14.9/includes/Admin/Processes/ImportForm.php](https://plugins.trac.wordpress.org/browser/ninja-forms/tags/3.14.9/includes/Admin/Processes/ImportForm.php)
- [https://plugins.trac.wordpress.org/changeset?reponame=&old=3614986%40ninja-forms&new=3614986%40ninja-forms](https://plugins.trac.wordpress.org/changeset?reponame=&old=3614986%40ninja-forms&new=3614986%40ninja-forms)
- [https://www.wordfence.com/threat-intel/vulnerabilities/id/2fda47d8-8e8c-4103-aabb-c70935e13450?source=cve](https://www.wordfence.com/threat-intel/vulnerabilities/id/2fda47d8-8e8c-4103-aabb-c70935e13450?source=cve)

## Related threats

- [Saturday Drive Ninja Forms improper input validation in form calculations](https://junglewise.ai/threats/cve-2026-65052-saturday-drive-ninja-forms-improper-input-validation-in-form)
- [Saturday Drive Ninja Forms validation bypass in AJAX submission handler](https://junglewise.ai/threats/cve-2026-65051-saturday-drive-ninja-forms-validation-bypass-in-ajax-submission)
- [Saturday Drive Ninja Forms missing authorization in submissions-table block](https://junglewise.ai/threats/cve-2026-65050-saturday-drive-ninja-forms-missing-authorization-in-submissions)
- [Saturday Drive Ninja Forms incorrect authorization in WordPress Multisite](https://junglewise.ai/threats/cve-2026-65049-saturday-drive-ninja-forms-incorrect-authorization-in-wordpress)
- [Saturday Drive Ninja Forms stored XSS in Repeatable Fieldset](https://junglewise.ai/threats/cve-2026-65048-saturday-drive-ninja-forms-stored-xss-in-repeatable-fieldset)
