CVE-2026-122231
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 WordPress components
-
WS Form LITE – Drag & Drop Contact Form Builder Plugin · ws-formUp to and including 1.12.18View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- westguard WS Form LITE – Drag & Drop Contact Form Builder — Up to and including 1.12.18
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/ws-form/tags/1.12.17/api/class-ws-form-api-submit.php#L63
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/ws-form/tags/1.12.17/api/class-ws-form-api.php#L344
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/ws-form/tags/1.12.17/includes/core/class-ws-form-submit-meta.php#L247
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/ws-form/tags/1.12.17/includes/core/class-ws-form-submit.php#L2771
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/ws-form/tags/1.12.17/shared/js/ws-form.js#L1310
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/ws-form/tags/1.12.17/shared/js/ws-form.js#L1580
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/ws-form/tags/1.12.17/shared/js/ws-form.js#L560
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3784929/ws-form
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3784929/ws-form/trunk/shared/js/ws-form.js
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/7996ce73-32d7-49d5-b47b-71f9fc106d3d?source=cve
- nvd.nist.gov Official NVD record