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

9.8
Improper Control of Generation of Code ('Code Injection')
CVSS 9.8 (Critical)
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

Share

Vulnerability Details for Ninja Forms – The Contact Form Builder That Grows With You

Software Type Plugin
Software Slug ninja-forms (view on wordpress.org)
Patched? Yes
Remediation Update to one of the following versions, or a newer 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
Affected Versions
  • 3.1 - 3.1.9
  • <= 3.0.34.1
  • 3.2 - 3.2.27
  • 3.6 - 3.6.10
Expand to see 3 more affected version ranges.
  • 3.5 - 3.5.8.3
  • 3.3 - 3.3.21.3
  • 3.4 - 3.4.34.1
Patched Versions
  • 3.0.34.2
  • 3.1.10
  • 3.2.28
  • 3.3.21.4
Expand to see 3 more patched versions.
  • 3.4.34.2
  • 3.5.8.4
  • 3.6.11

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation