Vulnerability · Published Feb 2, 2024 · Assigned by Wordfence

CVE-2024-0685Ninja Forms Contact Form <= 3.7.1 - Unauthenticated Second Order SQL Injection

Medium 5.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.8% (higher than 56% of all known vulnerabilities).

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)0.8%top 44.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

The Ninja Forms Contact Form – The Drag and Drop Form Builder for WordPress plugin for WordPress is vulnerable to Second Order SQL Injection via the email address value submitted through forms in all versions up to, and including, 3.7.1 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to inject SQL in their email address that will append additional into the already existing query when an administrator triggers a personal data export.

Affected products (as reported)

VendorProductVersions
kstover Ninja Forms – The Contact Form Builder That Grows With You 0 – through 3.7.1

Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

References