Technical impact
The Calculated Fields Form plugin for WordPress is vulnerable to a reflected DOM‑based cross‑site scripting flaw. It occurs when the plugin renders content from the 'x' query parameter without properly sanitizing or escaping it, enabling an attacker to inject arbitrary JavaScript into webpages that include a form configured with a URL‑backed text field. An injected script would execute in the victim’s browser, potentially compromising user credentials or session data. The weakness is a classic input validation failure (CWE‑79).
Affected Systems
All installations of the Calculated Fields Form – AI Form Builder for WordPress plugin by codepeople up to and including version 5.6.0.3 on any WordPress site are affected. The flaw is triggered only if a form includes a URL‑backed text field wired through a calculated‑field equation that calls set_timeslots(); sites that do not use this configuration are not vulnerable. The vulnerability is tied to the plugin’s JavaScript code located in the files fbuilder‑pro‑public.jquery.js and 04_fbuilder.timeslots.js.
Risk and Exploitability
The CVSS score of 6.1 indicates a moderate severity for this reflected XSS. The EPSS score is not available, and the issue is not currently listed in the CISA KEV catalog, implying limited known exploitation. A successful attack requires an unauthenticated attacker to entice a user to click a malicious link containing a crafted 'x' parameter. If the required form configuration is present, the payload will execute with the victim’s session privileges. Because the vulnerability is client‑side, it can be mitigated through plugin updates or form configuration changes, but it remains a significant risk to affected WordPress installations.