Vulnerabilities / ElasticPress / WPSEC-2026-2999

ElasticPress <= 5.3.5 - Unauthenticated Stored Cross-Site Scripting via 'orderby' Parameter

High 7.2 CWE-79Fixed in 5.3.6
ID
WPSEC-2026-2999
Plugin
ElasticPress (elasticpress)
Affected
from 4.4.0 before 5.3.6
Remediation
Update to 5.3.6 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-12
Attack surface
ElasticPress on WPSec AttackSurface
Fix released
Published

Description

The ElasticPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'orderby' parameter in all versions up to, and including, 5.3.5 due to insufficient output escaping of logged Elasticsearch error messages, query log values, and the recommended solutions built from them in the Failed Queries section of the Status Report. This makes it possible for unauthenticated attackers to trigger a failing search query whose error contains injected markup, storing arbitrary web scripts that execute whenever an administrator views the Failed Queries report.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0