# WS Form LITE – Drag & Drop Contact Form Builder <= 1.12.21 - Unauthenticated HTML Injection via Choice Field Values

- **ID:** WPSEC-2026-4343
- **Plugin:** WS Form LITE – Drag & Drop Contact Form Builder (`ws-form`), https://wordpress.org/plugins/ws-form/
- **Affected versions:** all versions before 1.12.22
- **Fixed in:** 1.12.22 (Update to 1.12.22 or later.)
- **Severity:** Medium 4.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-80
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-12-01)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/ws-form
- **Fix released:** 2026-11-30
- **Published:** 2026-12-01
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4343/

## Description

The WS Form LITE – Drag & Drop Contact Form Builder plugin for WordPress is vulnerable to HTML Injection via select, checkbox and radio field values in all versions up to, and including, 1.12.21. This is due to submitted values that do not match a configured field option being inserted into HTML-formatted variable output without escaping, and to values containing '#' being parsed a second time as variables. This makes it possible for unauthenticated attackers to inject arbitrary HTML into the HTML notification emails and messages generated from form submissions, which may be used to mislead recipients.

## References

- https://wpsec.com/vuln/WPSEC-2026-4343/
- https://plugins.svn.wordpress.org/ws-form/tags/1.12.22/
- https://wordpress.org/plugins/ws-form/

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

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.
