BlogSafe.org

WordPress CVEs

Search and review WordPress-related vulnerability records.

← Back to CVE list

CVE-2024-0685

CRITICAL 9.8 CVSS 3.1
Published
February 2, 2024
Last modified
June 17, 2026
NVD status
Modified
Reported by
security@wordfence.com
Weakness
CWE-89
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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 WordPress components

  • Ninja Forms – The Contact Form Builder That Grows With You Plugin · ninja-forms
    Confirmed match Active
    Up to and including 3.7.1
    View on WordPress.org

A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.

Affected products and versions

  • kstover Ninja Forms – The Contact Form Builder That Grows With You — Up to and including 3.7.1
  • ninjaforms ninja_forms — Up to and including 3.7.1

References

  • plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3028929/ninja-forms/trunk/includes/Admin/UserDataRequests.php Patch
  • sec.stealthcopter.com https://sec.stealthcopter.com/ninja-contact-forms/
  • www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/3cb73d5d-ca4a-4103-866d-f7bb369a8ce4?source=cve Third Party Advisory
  • nvd.nist.gov Official NVD record