What the vulnerability does
01Description
The FormGent plugin for WordPress is vulnerable to unauthorized arbitrary file deletion due to a missing capability check on the /wp-json/formgent/responses/attachments REST API endpoint in all versions up to, and including, 1.9.2 This is due to the REST API route being registered without any authentication middleware in routes/rest/api.php. This makes it possible for unauthenticated attackers to delete arbitrary files within the formgent uploads directory. Additionally, on Linux servers where the wp-content/uploads/formgent directory does not yet exist (the default state after plugin installation), the path traversal protection can be bypassed, enabling deletion of arbitrary files including wp-config.php which can lead to complete site takeover via a fresh WordPress installation.
Explanation of Vulnerability in Simple Terms
02Summary
FormGent versions up to 1.9.2 lack proper authorization checks, allowing unauthenticated attackers to modify or delete form data and settings. The vulnerability requires no user interaction and can be exploited over the network. Site administrators should update immediately to prevent unauthorized changes to forms, quizzes, and payment configurations.
What an attacker can do
03Attacker Capabilities
Modify or delete forms, quizzes, and payment settings without logging in.
Potential impact on your site
04Site Impact
Attackers can alter or destroy your forms, quizzes, and payment configurations without your knowledge.
Conditions required to exploit
05Prerequisites
Network access only; no authentication or user interaction required.
Key dates
06Disclosure timeline
August 1, 2026
CVE published