# Kali Forms — Contact Form & Drag-and-Drop Builder <= 2.4.26 - Authenticated (Author+) Stored Cross-Site Scripting via Form Field onclick Property

- **ID:** WPSEC-2026-1499
- **Plugin:** Kali Forms — Contact Form & Drag-and-Drop Builder (`kali-forms`), https://wordpress.org/plugins/kali-forms/
- **Affected versions:** from 2.0.0 before 2.4.27
- **Fixed in:** 2.4.27 (Update to 2.4.27 or later.)
- **Severity:** Medium 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/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-23)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/kali-forms
- **Fix released:** 2026-10-22
- **Published:** 2026-10-23
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1499/

## Description

The Kali Forms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the onclick and other on* event-handler field properties in all versions up to, and including, 2.4.26. The cause is that these properties were saved without restriction for users lacking the unfiltered_html capability and rendered into an onclick attribute on the front-end form, a JavaScript context where attribute escaping offers no protection. This makes it possible for authenticated attackers with Author-level access and above who can edit forms to inject arbitrary web scripts that execute whenever a user accesses a page containing the form.

## References

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

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

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.
