# Kali Forms — Contact Form & Drag-and-Drop Builder <= 2.4.27 - Authenticated (Contributor+) Stored Cross-Site Scripting via Form Field Components

- **ID:** WPSEC-2026-1925
- **Plugin:** Kali Forms — Contact Form & Drag-and-Drop Builder (`kali-forms`), https://wordpress.org/plugins/kali-forms/
- **Affected versions:** from 2.4.21 before 2.4.28
- **Fixed in:** 2.4.28 (Update to 2.4.28 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-10-29)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/kali-forms
- **Fix released:** 2026-10-28
- **Published:** 2026-10-29
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1925/

## Description

The Kali Forms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'kaliforms_field_components' form meta in versions 2.4.21 up to, and including, 2.4.27, due to insufficient input sanitization and output escaping. When the submitted field component JSON could not be decoded, or every field failed sanitization (for example a field with a non-scalar price), the raw submitted JSON was stored unchanged, and the field content and caption HTML was then loaded into the form builder unfiltered. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts that execute when another user, such as an administrator, opens the form in the builder.

## References

- https://wpsec.com/vuln/WPSEC-2026-1925/
- https://plugins.svn.wordpress.org/kali-forms/tags/2.4.28/
- https://wordpress.org/plugins/kali-forms/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-1925/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
