Skip to main content
Vulnerability Database/CVE-2026-100179

CVE-2026-100179: WordPress Calculated Fields Form XSS Flaw

CVE-2026-100179 is a reflected DOM-based XSS flaw in the Calculated Fields Form WordPress plugin allowing attackers to inject malicious scripts. This article covers technical details, affected versions, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-100179 Overview

CVE-2026-100179 is a reflected DOM-based Cross-Site Scripting (XSS) vulnerability in the Calculated Fields Form – AI Form Builder plugin for WordPress. The flaw affects all versions up to and including 5.5.1.3. Unauthenticated attackers can inject arbitrary JavaScript through a URL parameter consumed by a form's calculated equation. Exploitation requires user interaction, specifically clicking a crafted link. The vulnerability stems from insufficient input sanitization and output escaping [CWE-79] when URL parameter values flow through GETURLPARAMETER() into a Select2 dropdown's setChoices({texts:[...]}) call.

Critical Impact

Attackers can execute arbitrary JavaScript in a victim's browser session on a vulnerable WordPress site, enabling session theft, credential harvesting, and site defacement when a user clicks a malicious link.

Affected Products

  • Calculated Fields Form – AI Form Builder for WordPress plugin, all versions up to and including 5.5.1.3
  • WordPress sites hosting a public form with a Select2-enabled dropdown
  • Forms whose dropdown choices are populated via a calculated equation using GETURLPARAMETER()

Discovery Timeline

  • 2026-10-01 - CVE-2026-100179 published to NVD
  • 2026-10-01 - Last updated in NVD database

Technical Details for CVE-2026-100179

Vulnerability Analysis

The Calculated Fields Form plugin lets site administrators build forms whose values can be computed from runtime inputs, including URL query parameters. The GETURLPARAMETER() function reads a parameter from the current URL and returns its value for use in a calculated equation. When that equation feeds a Select2 dropdown through setChoices({texts:[...]}), the plugin injects the text values without properly sanitizing or escaping them before they reach the DOM.

An unauthenticated attacker can craft a URL that places malicious markup into the targeted parameter. When a victim clicks the link, the plugin's dropdown logic writes the attacker-controlled payload into the page, where the browser parses and executes it. Because this is reflected DOM-based XSS, the payload never reaches the server, making server-side logging and web application firewall rules less effective at detection.

Root Cause

The vulnerability resides in the dropdown module's handling of calculated choice texts. Based on the Wordfence advisory, the affected logic is implemented in js/fields-public/08_fbuilder.fdropdown.js (lines 84 and 240) and js/modules/08_url/public/01_url.js. The code passes URL-parameter-derived strings into Select2's setChoices text array without encoding HTML metacharacters, allowing script content to be rendered as live DOM.

Attack Vector

Exploitation is network-based and requires user interaction. The attacker identifies a target site hosting a vulnerable form configuration, then constructs a URL embedding a JavaScript payload inside the parameter consumed by GETURLPARAMETER(). Delivery occurs through phishing emails, malicious advertisements, or links posted on social platforms. On click, the payload executes in the victim's browser under the origin of the vulnerable WordPress site. Scope is changed because script executes in the context of the hosting origin.

No verified public proof-of-concept code is available. Technical details are documented in the Wordfence CVE Vulnerability Report and the WordPress Repository Change Set.

Detection Methods for CVE-2026-100179

Indicators of Compromise

  • Inbound HTTP requests to WordPress pages hosting calculated forms containing query parameters with HTML tags, javascript: schemes, or event-handler attributes such as onerror= and onclick=
  • Referrer logs showing external links driving traffic to form pages with encoded <script>, <img>, or <svg> fragments in the query string
  • Browser console errors or unexpected outbound requests from pages rendering the Calculated Fields Form dropdown

Detection Strategies

  • Review WordPress plugin inventory to identify sites running Calculated Fields Form at or below version 5.5.1.3
  • Audit existing forms for Select2 dropdowns whose choices are populated via GETURLPARAMETER() piped into setChoices({texts:[...]})
  • Deploy web server or WAF rules that flag query parameters containing script-like syntax on URLs reaching vulnerable form endpoints

Monitoring Recommendations

  • Enable Content Security Policy (CSP) reporting to capture inline script execution attempts on form pages
  • Monitor access logs for repeated or templated query strings matching known XSS payload patterns
  • Alert on anomalous referrer sources driving spikes of traffic to form pages, which can indicate active phishing campaigns

How to Mitigate CVE-2026-100179

Immediate Actions Required

  • Update the Calculated Fields Form plugin to a version later than 5.5.1.3 as soon as the vendor publishes a fix
  • Audit all published forms and temporarily remove or reconfigure Select2 dropdowns that rely on GETURLPARAMETER() for choice population
  • Enforce a strict Content Security Policy that disallows inline scripts and restricts script sources to trusted origins

Patch Information

The vendor change set documenting the fix is available at the WordPress Repository Change Set. Site administrators should apply the latest plugin update through the WordPress admin dashboard or by replacing the plugin directory with the patched release. Confirm the installed version post-update and clear any page caches that may serve pre-patch JavaScript.

Workarounds

  • Remove or disable forms that pipe URL parameters into dropdown choice text until the plugin is patched
  • Deploy WAF rules that strip or block query parameters containing angle brackets, javascript: URIs, or inline event handlers on form page requests
  • Apply a Content Security Policy header such as Content-Security-Policy: default-src 'self'; script-src 'self' to limit the impact of injected scripts
bash
# Example Nginx header to restrict script execution on WordPress sites
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self';" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "SAMEORIGIN" always;

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.