Description
The BitForm plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'bitform' shortcode in versions up to, and including, 1.1.0. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes ('width' and 'height') in the Shortcode::shortcode() function, which are interpolated directly into the 'style' attribute of an <iframe> element. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Published: 2026-05-27
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises from insufficient sanitization of the 'width' and 'height' attributes supplied to the BitForm shortcode, allowing an authenticated WordPress contributor or higher to inject malicious scripts that are rendered inside an iframe's style attribute. When users view the affected page, the injected code executes in their browsers, enabling the attacker to steal session cookies, deface content, or redirect users. This weakness falls under the input validation domain (CWE-79).

Affected Systems

WordPress sites using the BitForm plugin version 1.1.0 or earlier are affected. The issue exists regardless of the installed WordPress core version and requires contributor-level or higher credentials to exploit. The plugin's shortcode features are relevant to any page or post that includes the [bitform] tag.

Risk and Exploitability

The CVSS score of 6.4 indicates a medium severity vulnerability. No EPSS data is available, and the vulnerability is not included in the CISA KEV catalog, suggesting limited public exploit activity. However, the attack vector is local and requires only contributor-level access, which is common for many site users, so the overall risk to sites with many contributors remains significant.

Generated by OpenCVE AI on May 27, 2026 at 07:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade BitForm to the latest supported version where the shortcode attributes are properly sanitized.
  • If an immediate upgrade is not possible, remove or escape the 'width' and 'height' attributes supplied by contributors, ensuring they are output-encoded before being injected into the iframe style.
  • Deploy a web-application firewall or content-security-policy that blocks or sanitizes injected scripts targeting iframe style attributes.

Generated by OpenCVE AI on May 27, 2026 at 07:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 27 May 2026 11:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 27 May 2026 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Bitform
Bitform bitform – Data Management Solution For Wordpress
Wordpress
Wordpress wordpress
Vendors & Products Bitform
Bitform bitform – Data Management Solution For Wordpress
Wordpress
Wordpress wordpress

Wed, 27 May 2026 06:30:00 +0000

Type Values Removed Values Added
Description The BitForm plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'bitform' shortcode in versions up to, and including, 1.1.0. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes ('width' and 'height') in the Shortcode::shortcode() function, which are interpolated directly into the 'style' attribute of an <iframe> element. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title BitForm <= 1.1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Bitform Bitform – Data Management Solution For Wordpress
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-05-27T10:35:13.126Z

Reserved: 2026-05-18T20:50:09.614Z

Link: CVE-2026-8891

cve-icon Vulnrichment

Updated: 2026-05-27T10:35:08.594Z

cve-icon NVD

Status : Deferred

Published: 2026-05-27T07:16:17.603

Modified: 2026-05-27T14:50:47.627

Link: CVE-2026-8891

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-27T10:07:14Z

Weaknesses