Vulnerabilities / ElasticPress / WPSEC-2026-4630

ElasticPress <= 5.3.6 - Authenticated (Author+) Stored Cross-Site Scripting via Post Title in Autosuggest

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

Description

The ElasticPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via post titles shown in Autosuggest results in all versions up to, and including, 5.3.6, due to insufficient output escaping. Indexed post titles were inserted into the page with innerHTML and only their double quotes were replaced, which turns quoted attributes in title markup into unquoted ones. Search-term highlighting was also applied to the raw markup. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in published post titles that execute when a visitor's search shows the post in Autosuggest.

References

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

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

License: CC BY 4.0