Kali Forms <= 2.4.20 - Unauthenticated Remote Code Execution via 'thisPermalink' Field Parameter
Strategic Overview
- Status
- Patched in 2.4.21
- Affected Plugin
- Kali Forms — Contact Form & Drag-and-Drop Builder
- Affected Version
<= 2.4.20- CVSS
- 8.1High
- Weakness type
- CWE-94 · Improper Control of Generation of Code ('Code Injection')
- CVE
CVE-2026-16144
At a glance
CVE-2026-16144 is a high-severity Improper Control of Generation of Code ('Code Injection') vulnerability in the Kali Forms WordPress plugin, affecting versions <= 2.4.20. It carries a CVSS score of 8.1 (reachable over the network; high confidentiality, integrity, availability impact). Exploitation requires no authentication. The issue is fixed in version 2.4.21; sites on affected versions should update now. Disclosed July 2026, reported by Wordfence PRISM.
Vulnerability Overview
The Kali Forms — Contact Form & Drag-and-Drop Builder plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 2.4.20 via the _save_data function. This is due to insufficient validation of the 'thisPermalink' field value before it overwrites a trusted callable placeholder, allowing attacker-controlled strings to reach call_user_func() in _save_data(). This makes it possible for unauthenticated attackers to execute code on the server. Exploitation requires the target form to define a field with a name matching one of the reserved placeholder keys ('thisPermalink', 'entryCounter', or 'submission_link'), as check_if_placeholders_changed() only processes POST keys present in the form's field_type_map.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, and no privileges on the target site, and no interaction from a victim user. A successful exploit has high impact on confidentiality, integrity, availability — full site compromise territory.
CWE-94: Improper Control of Generation of Code ('Code Injection')
Kali Forms <= 2.4.20 carries this weakness at thisPermalink, and reaching it takes no account at all. Code injection means input from a request reaches a language construct that evaluates code, so the attacker's text is executed rather than treated as data.
The injected code runs with the web server's privileges, giving the attacker the same access to the database and filesystem as WordPress itself. For Kali Forms the fix is 2.4.21: builds <= 2.4.20 are affected, anything from 2.4.21 onward is not.
Remediation
Update to version 2.4.21, or a newer patched version
How does WordSec protect against this?
Requests carrying this pattern arrive without a session, so nothing upstream of the firewall gets a chance to reject them: WordSec's web application firewall inspects request payloads before WordPress loads them. Classes like this one can leave something behind, so the staged malware scanner is the second half: it looks for dropped files and modified code rather than for the request that created them. None of that substitutes for the fix: Kali Forms 2.4.21 closes this, and updating the plugin is the step that ends it.
- Firewall
- Scanner
- Login Security
External References
Related records
Same weakness class
Other vulnerabilities in Kali Forms — Contact Form & Drag-and-Drop Builder
- 8.8CVE-2020-36717: Kali Forms <= 2.1.1 Cross-Site Request Forgery
CVE-2020-36717 - 8.6CVE-2020-36712: Kali Forms <= 2.1.1 Arbitrary Post Deletion
CVE-2020-36712 - 8.1CVE-2026-59542: Kali Forms Arbitrary File Deletion
CVE-2026-59542 - 7.6CVE-2024-1217: Contact Form builder… Arbitrary Plugin Deactivation
CVE-2024-1217 - 7.2CVE-2026-65446: Kali Forms <= 2.4.18 Stored Cross-Site Scripting
CVE-2026-65446 - 7.2CVE-2026-15395: Kali Forms <= 2.4.18 Stored Cross-Site Scripting
CVE-2026-15395 - 7.1CVE-2020-36720: Kali Forms <= 2.1.1 Settings Update
CVE-2020-36720 - 6.5CVE-2024-22305: Contact Form builder with drag & drop… IDOR
CVE-2024-22305
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C