{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-3916",
 "modified": "2026-11-25T18:52:45Z",
 "published": "2026-11-25T18:52:45Z",
 "summary": "Calculated Fields Form – AI Form Builder for WordPress – Contact, Payment, Quote, Quiz & More <= 5.6.0.3 - Unauthenticated Reflected DOM-Based Cross-Site Scripting via Date/Timeslots Field set_timeslots()",
 "details": "The Calculated Fields Form – AI Form Builder for WordPress – Contact, Payment, Quote, Quiz & More plugin for WordPress is vulnerable to Reflected DOM-Based Cross-Site Scripting via the Date/Timeslots field's set_timeslots() method in all versions up to, and including, 5.6.0.3, due to insufficient input validation and output escaping. Slot objects passed to set_timeslots() by a form equation were not validated, and the field built the available-slot markup by concatenating each slot label into an HTML string inserted with jQuery's .html(). This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute in a victim's browser if they can trick the victim into opening a crafted link, on forms whose equations pass URL-parameter-derived values (for example from getURLParameters()) into set_timeslots().",
 "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": "calculated-fields-form"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "5.6.0.4"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 5.6.0.4"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-3916/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/calculated-fields-form/tags/5.6.0.4/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/calculated-fields-form/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-3916/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
