{
 "id": "WPSEC-2026-3916",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3916/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3916/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3916/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-3916.json",
 "title": "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()",
 "description": "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().",
 "plugin": {
  "slug": "calculated-fields-form",
  "name": "Calculated Fields Form – AI Form Builder for WordPress – Contact, Payment, Quote, Quiz & More",
  "full_name": "Calculated Fields Form – AI Form Builder for WordPress – Contact, Payment, Quote, Quiz & More",
  "wordpress_org": "https://wordpress.org/plugins/calculated-fields-form/",
  "advisories_url": "https://wpsec.com/vuln/plugin/calculated-fields-form/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/calculated-fields-form"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "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": "5.6.0.4",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 5.6.0.4"
  ]
 },
 "introduced_in": null,
 "fixed_in": "5.6.0.4",
 "remediation": "Update to 5.6.0.4 or later.",
 "fix_released": "2026-11-24T18:38:57+00:00",
 "published": "2026-11-25T18:52:45+00:00",
 "updated": "2026-11-25T09:56:58.652266+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3916/",
  "https://plugins.svn.wordpress.org/calculated-fields-form/tags/5.6.0.4/",
  "https://wordpress.org/plugins/calculated-fields-form/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/calculated-fields-form",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-11-25"
 }
}