CVE-2024-0685
CVE-2024-0685 is a medium-severity vulnerability in Ninjaforms Ninja Forms with a CVSS 3.x base score of 5.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-89.
Key facts
- Severity: Medium (CVSS 3.x base score 5.9)
- EPSS exploit prediction: 1% (57th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-16476
- Weakness: CWE-89
- Affected product: Ninjaforms Ninja Forms
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-0685?
- 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.
- How severe is CVE-2024-0685?
- CVE-2024-0685 has a CVSS 3.x base score of 5.9, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2024-0685 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (57th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-0685?
- CVE-2024-0685 affects Ninjaforms Ninja Forms. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-0685?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-0685 have an EU (EUVD) identifier?
- Yes. CVE-2024-0685 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-16476.
- When was CVE-2024-0685 published?
- CVE-2024-0685 was published on 2024-02-02 and last updated on 2026-06-17.
References
- https://plugins.trac.wordpress.org/changeset/3028929/ninja-forms/trunk/includes/Admin/UserDataRequests.php
- https://sec.stealthcopter.com/ninja-contact-forms/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/3cb73d5d-ca4a-4103-866d-f7bb369a8ce4?source=cve
Affected products (1)
- cpe:2.3:a:ninjaforms:ninja_forms:*:*:*:*:*:wordpress:*:*
More vulnerabilities in Ninjaforms Ninja Forms
- CVE-2025-9083 — Critical (CVSS 9.8): The Ninja Forms WordPress plugin before 3.11.1 unserializes user input via form field, which could allow…
- CVE-2016-1209 — Critical (CVSS 9.8): The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks…
- CVE-2018-20981 — Critical (CVSS 9.1): The ninja-forms plugin before 3.3.9 for WordPress has insufficient restrictions on submission-data retrieval during…
- CVE-2024-25572 — High (CVSS 8.8): Cross-site request forgery (CSRF) vulnerability exists in Ninja Forms prior to 3.4.31. If a website administrator views…
- CVE-2021-24163 — High (CVSS 8.8): The AJAX action, wp_ajax_ninja_forms_sendwp_remote_install_handler, did not have a capability check on it, nor did it…
- CVE-2018-16308 — High (CVSS 8.6): The Ninja Forms plugin before 3.3.14.1 for WordPress allows CSV injection.
All CVEs affecting Ninjaforms Ninja Forms →
Other CWE-89 (SQL Injection) vulnerabilities
- CVE-2026-124815 — Critical (CVSS 10.0): The Clockinator Lite WordPress plugin before 1.1.0 does not restrict access to several of its record deletion actions,…
- CVE-2026-105781 — Critical (CVSS 10.0): Adobe Campaign Classic (ACC) is affected by an Improper Neutralization of Special Elements used in an SQL Command ('SQL…
- CVE-2026-79849 — Critical (CVSS 10.0): Vulnerabilities in the affected interface of AOS-8 could allow an unauthenticated remote attacker to conduct SQL…
- CVE-2026-79848 — Critical (CVSS 10.0): Vulnerabilities in the affected interface of AOS-8 could allow an unauthenticated remote attacker to conduct SQL…
- CVE-2026-55572 — Critical (CVSS 10.0): e107 is a content management system (CMS). Prior to 2.3.7, the bundled alt_auth plugin's otherdb and e107db…
- CVE-2026-12260 — Critical (CVSS 10.0): SQL injection in the NetBoard CRM demo platform; specifically, the vulnerable component is the ‘user-name’ POST…