WS Form LITE – Drag & Drop Contact Form Builder <= 1.12.22 - Unauthenticated JavaScript Code Injection via Calculation Expressions
- ID
- WPSEC-2026-4498
- Plugin
- WS Form LITE – Drag & Drop Contact Form Builder (ws-form)
- Affected
- all versions before 1.12.23
- Remediation
- Update to 1.12.23 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weakness
- CWE-95
- Usage
- Plugin Low · Affected versions None seen among sites WPSec scans, 2026-12-03
- Attack surface
- WS Form LITE – Drag & Drop Contact Form Builder on WPSec AttackSurface
- Fix released
- Published
Description
The WS Form LITE plugin for WordPress is vulnerable to client-side JavaScript code injection (DOM-based Cross-Site Scripting) via calculation expressions in all versions up to, and including, 1.12.22 due to the front-end calculation engine evaluating strings built from parsed variables, which can include user-supplied field or query-string values, with new Function() without validating that they contain only numbers and operators. This makes it possible for unauthenticated attackers to execute arbitrary JavaScript in a victim's browser by tricking them into visiting a crafted link or entering crafted values into a form that uses calculated fields.
References
- https://wpsec.com/vuln/WPSEC-2026-4498/
- https://plugins.svn.wordpress.org/ws-form/tags/1.12.23/
- https://wordpress.org/plugins/ws-form/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS