CVE-2026-15663
Received Received - Intake

SQL Injection in Ninja Forms WordPress Plugin

Vulnerability report for CVE-2026-15663, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-24

Last updated on: 2026-07-24

Assigner: Wordfence

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-24
Last Modified
2026-07-24
Generated
2026-07-24
AI Q&A
2026-07-24
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
ninja_forms ninja_forms to 3.14.9 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a SQL Injection flaw in the Ninja Forms WordPress plugin up to version 3.14.9. It allows authenticated attackers with admin-level access to inject malicious SQL queries via an import file's 'settings' key. The issue occurs because user-supplied parameters are insufficiently escaped and SQL queries lack proper preparation. Attackers can exploit this to extract sensitive database information.

Detection Guidance

To detect this vulnerability, inspect WordPress sites using Ninja Forms versions up to 3.14.9. Check for suspicious SQL queries in logs or database activity. Look for unauthorized data extraction attempts via import files containing malicious 'settings' objects.

Impact Analysis

If you use the vulnerable Ninja Forms plugin, an attacker with admin access could steal sensitive data from your WordPress database, such as user credentials, personal information, or other confidential data. This could lead to further attacks like unauthorized access or data breaches.

Compliance Impact

This vulnerability could lead to unauthorized data exposure, violating GDPR (data protection) and HIPAA (health data privacy) requirements. Organizations may face fines or legal consequences if sensitive data is compromised due to this flaw.

Mitigation Strategies

Immediately update Ninja Forms to the latest version beyond 3.14.9. Remove unnecessary admin-level accounts. Monitor database queries for anomalies. Disable file import features if not required.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-15663. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart