EZSA-2019-003: XSS in eZFind spellcheck

Publication date:
23/05/2019 12:00

Severity:
High

Affected versions: ezfind v2017.12.0, v5.4.11, v5.3.6, all community versions at time of writing (legacy only)
Resolving versions: ezfind v2017.12.0.1, v5.4.11.1, v5.3.6.1

This security advisory fixes a vulnerability in the legacy eZ Find extension, which can be used with the LegacyBridge in eZ Platform. It affects sites using the "Did you mean...?" spell check / search suggestion feature. This feature is vulnerable to XSS injection (reflected XSS). The update adds the necessary escaping of injected code. If you're affected, we recommend that you install it as soon as possible.
 
If you have custom search templates, please make sure you update these as well. Ensure that "search_extras.spellcheck_collation" is followed by the "wash" operator, like this:
{$search_extras.spellcheck_collation|wash}
 
To install, use Composer to update to one of the "Resolving versions" mentioned above, or apply this patch manually:
https://github.com/ezsystems/ezfind/commit/51c17ea9b1231c20db8221f34d01c649060f1e91

This issue was reported to us by Thomas Poskocil, MSc of Radarservices Smart IT GmbH, a technology company in the field of Detection & Response.
https://www.radarservices.com/
 
It was nearly simultaneously reported by independent cybersecurity researcher SecuNinja.
https://www.secu.ninja/aboutme/
 
We are very grateful for their research, and responsible disclosure to us.


Have you found a security bug in eZ Publish or eZ Platform? See how to report it responsibly here: https://doc.ezplatform.com/en/latest/guide/reporting_issues/

All security advisories