Kali Forms — Contact Form & Drag-and-Drop Builder <= 2.4.33 - Unauthenticated Arbitrary Shortcode Execution via Uploaded Image Caption
- ID
- WPSEC-2026-4092
- 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:N/UI:N/S:U/C:L/I:L/A:N
- Weakness
- CWE-94
- 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 Arbitrary Shortcode Execution via form file upload fields in all versions up to, and including, 2.4.33, due to visitor uploads being created with media_handle_sideload() as public attachments, which copies the caption embedded in an uploaded image's IPTC/EXIF metadata into the attachment description (post_content). That description is passed through the_content filter when the attachment page or the public /wp/v2/media/<id> REST item is rendered. This makes it possible for unauthenticated attackers to upload an image whose caption contains a shortcode and have it executed. A published form with a file upload field that accepts images is required.
References
- https://wpsec.com/vuln/WPSEC-2026-4092/
- https://plugins.svn.wordpress.org/kali-forms/tags/2.4.34/
- https://wordpress.org/plugins/kali-forms/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS