Vulnerability · Published Nov 7, 2026 · Assigned by Wordfence
CVE-2026-122231WS Form LITE <= 1.12.18 - Unauthenticated Stored Cross-Site Scripting via Text Field Array Value
High 7.2
In plain English
A high-severity cross-site scripting in WS Form LITE – Drag & Drop Contact Form Builder from westguard. There are no confirmed reports of exploitation so far.
Official description
The WS Form LITE – Drag & Drop Contact Form Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'field_<id>[0][0]' parameter in all versions up to, and including, 1.12.18 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is possible because the client-side esc_html() helper returns any non-string value unchanged, allowing a nested-array payload coerced via Array.prototype.toString to reach jQuery .append() unescaped.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| westguard | WS Form LITE – Drag & Drop Contact Form Builder | 0 – through 1.12.18 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/7996ce73-32d7-49d5-b47b-71f9fc106d3d?source=cve
- https://plugins.trac.wordpress.org/browser/ws-form/tags/1.12.17/shared/js/ws-form.js#L1580
- https://plugins.trac.wordpress.org/browser/ws-form/tags/1.12.17/shared/js/ws-form.js#L1310
- https://plugins.trac.wordpress.org/browser/ws-form/tags/1.12.17/shared/js/ws-form.js#L560
- https://plugins.trac.wordpress.org/browser/ws-form/tags/1.12.17/includes/core/class-ws-form-submit.php#L2771
- https://plugins.trac.wordpress.org/browser/ws-form/tags/1.12.17/includes/core/class-ws-form-submit-meta.php#L247
- https://plugins.trac.wordpress.org/browser/ws-form/tags/1.12.17/api/class-ws-form-api-submit.php#L63
- https://plugins.trac.wordpress.org/browser/ws-form/tags/1.12.17/api/class-ws-form-api.php#L344
- https://plugins.trac.wordpress.org/changeset/3784929/ws-form
- https://plugins.trac.wordpress.org/changeset/3784929/ws-form/trunk/shared/js/ws-form.js