# ElasticPress <= 5.3.6 - Unauthenticated Sensitive Information Exposure via Elasticsearch Host Credentials

- **ID:** WPSEC-2026-4632
- **Plugin:** ElasticPress (`elasticpress`), https://wordpress.org/plugins/elasticpress/
- **Affected versions:** from 2.4 before 5.3.7
- **Fixed in:** 5.3.7 (Update to 5.3.7 or later.)
- **Severity:** Medium 5.9 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N)
- **Weakness:** CWE-200
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-12-04)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/elasticpress
- **Fix released:** 2026-12-03
- **Published:** 2026-12-04
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4632/

## Description

The ElasticPress plugin for WordPress is vulnerable to Sensitive Information Exposure via the Autosuggest and Instant Results front-end configuration in all versions up to, and including, 5.3.6, due to the Elasticsearch host URL being passed to the browser unchanged, including any user:password credentials it contains. This makes it possible for unauthenticated attackers to obtain the Elasticsearch cluster credentials when the configured host URL contains them and Autosuggest (on an ElasticPress.io host) or Instant Results (with a relative search endpoint) is active.

## References

- https://wpsec.com/vuln/WPSEC-2026-4632/
- https://plugins.svn.wordpress.org/elasticpress/tags/5.3.7/
- https://wordpress.org/plugins/elasticpress/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4632/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
