CVE-2026-116518
JSON

7.2high

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

Severity
7.2high CVSS:3.1 by Wordfence
Exploit likelihood
0.31% (higher than 25% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Wordfence

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 input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The injected payload is stored in the ep_query_log transient for up to 24 hours after a single unauthenticated frontend GET request, and only fires when an administrator subsequently opens the Status Report page and expands the Failed Queries panel.

Affected

Product or packageVersionsReported by
10up ElasticPressup to 5.3.5CVE List

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

https://www.wordfence.com/threat-intel/vulnerabilities/id/4e3af605-3f95-4dd2-a028-a38519afc296?source=cve
https://plugins.trac.wordpress.org/browser/elasticpress/tags/5.3.5/assets/js/status-report/components/reports/report/value.js#L32
https://plugins.trac.wordpress.org/browser/elasticpress/tags/5.3.5/includes/classes/StatusReport/FailedQueries.php#L76
https://plugins.trac.wordpress.org/browser/elasticpress/tags/5.3.5/includes/classes/StatusReport/FailedQueries.php#L165
https://plugins.trac.wordpress.org/browser/elasticpress/tags/5.3.5/includes/utils.php#L862
https://plugins.trac.wordpress.org/browser/elasticpress/tags/5.3.5/includes/classes/QueryLogger.php#L312
https://plugins.trac.wordpress.org/browser/elasticpress/tags/5.3.5/includes/classes/Indexable/Post/Post.php#L1218
https://plugins.trac.wordpress.org/changeset?reponame=&old=3796839%40elasticpress&new=3796839%40elasticpress

Sources

SourceRecordLicence
CVE ListCVE-2026-116518 changed 2026-11-23CVE Terms of Use
NVDCVE-2026-116518 changed 2026-11-23Public domain