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

Medium 6.4 CWE-79Fixed in 2.4.34
ID
WPSEC-2026-4091
Plugin
Kali Forms — Contact Form & Drag-and-Drop Builder (kali-forms)
Affected
all versions before 2.4.34
Remediation
Update to 2.4.34 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-27
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 Stored Cross-Site Scripting via form field property names in all versions up to, and including, 2.4.33, due to insufficient validation and escaping of the property key. Keys are stored after only sanitize_text_field() and are output as a data- attribute name with esc_attr(), which leaves spaces and equals signs intact, and the guard for JavaScript event-handler properties only matches keys that consist of a whole on* name. This makes it possible for authenticated attackers with Author-level access and above, who can publish forms, to inject arbitrary attributes such as event handlers into the public form. The injected script runs whenever a user views a page that contains the form.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0