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% (51st 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% (51st 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-54350 — Critical (CVSS 10.0): Budibase is an open-source low-code platform. Prior to 3.39.12, an unauthenticated visitor of any published Budibase…
- CVE-2026-8054 — Critical (CVSS 10.0): Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in the Publish Audit API endpoints…
- CVE-2026-42287 — Critical (CVSS 10.0): Emlog is an open source website building system. Prior to version 2.6.11, direct SQL injection in article creation and…
- CVE-2026-3325 — Critical (CVSS 10.0): SQL injection (SQLi) in MegaCMS v12.0.0, specifically in the “id_territorio” parameter of the…
- CVE-2025-10878 — Critical (CVSS 10.0): A SQL injection vulnerability exists in the login functionality of Fikir Odalari AdminPando 1.0.1 before 2026-01-26.…
- CVE-2025-57792 — Critical (CVSS 10.0): Explorance Blue versions prior to 8.14.9 contain a SQL injection vulnerability caused by insufficient validation of…