{
 "id": "WPSEC-2026-4498",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4498/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4498/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4498/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4498.json",
 "title": "WS Form LITE – Drag & Drop Contact Form Builder <= 1.12.22 - Unauthenticated JavaScript Code Injection via Calculation Expressions",
 "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.",
 "plugin": {
  "slug": "ws-form",
  "name": "WS Form LITE – Drag & Drop Contact Form Builder",
  "full_name": "WS Form LITE – Drag & Drop Contact Form Builder",
  "wordpress_org": "https://wordpress.org/plugins/ws-form/",
  "advisories_url": "https://wpsec.com/vuln/plugin/ws-form/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/ws-form"
 },
 "type": "XSS",
 "cwe": [
  "CWE-95"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.1,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "1.12.23",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 1.12.23"
  ]
 },
 "introduced_in": null,
 "fixed_in": "1.12.23",
 "remediation": "Update to 1.12.23 or later.",
 "fix_released": "2026-12-01T20:54:49+00:00",
 "published": "2026-12-03T12:50:55+00:00",
 "updated": "2026-12-03T12:34:38.515021+00:00",
 "also_published_as": null,
 "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/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/ws-form",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "None seen",
  "as_of": "2026-12-03"
 }
}