Kali Forms — Contact Form & Drag-and-Drop Builder <= 2.4.31 - Unauthenticated Reflected Cross-Site Scripting via Form Submission Response
- ID
- WPSEC-2026-2790
- Plugin
- Kali Forms — Contact Form & Drag-and-Drop Builder (kali-forms)
- Affected
- from 2.1.0 before 2.4.32
- Remediation
- Update to 2.4.32 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-10
- Attack surface
- Kali Forms — Contact Form & Drag-and-Drop Builder on WPSec AttackSurface
- Fix released
- Published
Description
The Kali Forms plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the form submission response of the kaliforms_form_process AJAX action in all versions up to, and including, 2.4.31. This is due to the form processor returning its responses through wp_die(wp_json_encode(...)), which admin-ajax.php serves as text/html, without hex-escaping HTML characters. These responses echoed request-supplied values unsanitized, including the raw submitted form data and the admin_stop_reason and error_bag values, which the processor accepted from visitors. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute in a victim's browser if they can trick a user into performing an action such as submitting a crafted form. In versions that require the form nonce, the attack works against visitors who are not logged in, because the nonce for logged-out visitors can be read from any public form page.
References
- https://wpsec.com/vuln/WPSEC-2026-2790/
- https://plugins.svn.wordpress.org/kali-forms/tags/2.4.32/
- https://wordpress.org/plugins/kali-forms/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS