CVE-2026-116518ElasticPress <= 5.3.5 - Unauthenticated Stored Cross-Site Scripting via 'orderby'…
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by Wordfence, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- 10up ElasticPress: affected: up to 5.3.5
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.