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)
- Affected
- from 2.0 before 3.6.0
- Remediation
- Update to 3.6.0 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-24
- Attack surface
- Bit Form on WPSec AttackSurface
- Fix released
- Published
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/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS