# Bit Form <= 3.5.0 - Unauthenticated Reflected Cross-Site Scripting via Calculation Formula Field Values

- **ID:** WPSEC-2026-3771
- **Plugin:** Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder (`bit-form`), https://wordpress.org/plugins/bit-form/
- **Affected versions:** from 2.0 before 3.6.0
- **Fixed in:** 3.6.0 (Update to 3.6.0 or later.)
- **Severity:** Medium 4.7 (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-24)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/bit-form
- **Fix released:** 2026-11-23
- **Published:** 2026-11-24
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3771/

## Description

The Bit Form plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via field values used in calculation and 'set value' formulas in all versions from 2.0 up to, and including, 3.5.0, due to formulas being evaluated as JavaScript code with field values substituted into them. The check meant to allow only numbers is ineffective. Field values can be typed into a field or pre-filled from a URL parameter through the _bf_query_param smart tag. 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 to a page containing a form that uses such a formula.

## References

- https://wpsec.com/vuln/WPSEC-2026-3771/
- https://plugins.svn.wordpress.org/bit-form/tags/3.6.0/
- https://wordpress.org/plugins/bit-form/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3771/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
