# CVE-2026-116518: ElasticPress <= 5.3.5 - Unauthenticated Stored Cross-Site Scripting via 'orderby' Parameter

- Severity: High 7.2 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-11-21T11:42:27.057Z
- Modified: 2026-11-23T15:17:26.180Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 10up ElasticPress: 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>

## Sources

- CVE List: [CVE-2026-116518](https://www.cve.org/CVERecord?id=CVE-2026-116518), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-116518](https://nvd.nist.gov/vuln/detail/CVE-2026-116518), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-116518 · Whole record: https://cve.day/CVE-2026-116518.json · Rebuilt by cve.day 2026-11-25T22:59:52.513Z
