Kali Forms — Contact Form & Drag-and-Drop Builder <= 2.4.28 - Authenticated (Author+) Stored Cross-Site Scripting via Percent-Encoded Form Field Event Handler Property Names
- ID
- WPSEC-2026-1922
- Plugin
- Kali Forms — Contact Form & Drag-and-Drop Builder (kali-forms)
- Affected
- from 2.4.27 before 2.4.29
- Remediation
- Update to 2.4.29 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 None seen among sites WPSec scans, 2026-10-29
- 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 versions 2.4.27 up to, and including, 2.4.28, due to the guard that blocks JavaScript event-handler properties (onclick, other on* handlers and the Button clickAction) for users without the unfiltered_html capability checking the submitted property name instead of the name as it is stored. sanitize_text_field() later removes percent-encoded octets from that name. A name that only becomes a handler after this step is therefore saved, and the form is then allowed to output it. This makes it possible for authenticated attackers with author-level access and above to inject arbitrary web scripts into published forms that execute whenever a user views the form.
References
- https://wpsec.com/vuln/WPSEC-2026-1922/
- https://plugins.svn.wordpress.org/kali-forms/tags/2.4.29/
- 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