Lucene search

K
githubGitHub Advisory DatabaseGHSA-9CQ2-PCGR-8H62
HistoryMay 15, 2024 - 9:07 p.m.

Cross-site Scripting in eZFind spellcheck

2024-05-1521:07:54
CWE-79
GitHub Advisory Database
github.com
5
ezfind
ez platform
spell check
xss
security update
patch
composer
vulnerability
legacybridge
injection
search templates
escaping
github
software

6.5 Medium

AI Score

Confidence

High

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 Cross-site Scripting (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

6.5 Medium

AI Score

Confidence

High