Ninja Forms Contact Form – The Drag and Drop Form Builder for WordPress <= 3.6.10 - Code Injection

Improper Control of Generation of Code ('Code Injection')
CVE Not available
CVSS Critical (9.8)
Publicly Published June 15, 2022
Last Updated January 22, 2024
Description

The Ninja Forms Contact Form – The Drag and Drop Form Builder for WordPress plugin for WordPress is vulnerable to code injection in versions up to, and including 3.6.10 due to insufficient validation on Merge Tags that makes it possible to call arbitrary Ninja Form classes. This could lead to a variety of actions, however, one notable one is deserialization when the NF_Admin_Processes_ImportForm::startup method is called. On sites with a POP chain this could be used to achieve remote code execution in the worst possible scenarios.

References

1 affected software package

Software Type Plugin
Software Slug ninja-forms (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 3.0.34.1
  • 3.1 - 3.1.9
  • 3.2 - 3.2.27
  • 3.3 - 3.3.21.3
  • 3.4 - 3.4.34.1
  • 3.5 - 3.5.8.3
  • 3.6 - 3.6.10
Patched Version
  • 3.0.34.2
  • 3.1.10
  • 3.2.28
  • 3.3.21.4
  • 3.4.34.2
  • 3.5.8.4
  • 3.6.11
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.