Ninja Forms <= 3.6.24 - Authenticated (Admin+) Arbitrary File Deletion

External Control of File Name or Path
CVE CVE-2023-36505
CVSS Medium (6.5)
Publicly Published June 22, 2023
Last Updated January 22, 2024
Researcher Theodoros Malachias
Description

The Ninja Forms plugin for WordPress is vulnerable to arbitrary file deletions in versions up to, and including, 3.6.24. This is due to insufficient restriction on the file path that can be supplied during file deletion. This makes it possible for authenticated attackers, with administrative-level access, to delete arbitrary files on the server. One such file that could be targeted is wp-config.php which if deleted can make it possible for an attacker to connect a site to their own database and ultimately achieve remote code execution on the server.

References

1 affected software package

Software Type Plugin
Software Slug ninja-forms (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 3.6.24
Patched Version
  • 3.6.25
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.