{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4498",
 "modified": "2026-12-03T12:50:55Z",
 "published": "2026-12-03T12:50:55Z",
 "summary": "WS Form LITE – Drag & Drop Contact Form Builder <= 1.12.22 - Unauthenticated JavaScript Code Injection via Calculation Expressions",
 "details": "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.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "ws-form"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "1.12.23"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 1.12.23"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4498/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/ws-form/tags/1.12.23/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/ws-form/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4498/",
  "cwe_ids": [
   "CWE-95"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
