Cross-site Scripting in eZFind spellcheck
        
  High severity
        
          GitHub Reviewed
      
        Published
          May 15, 2024 
          to the GitHub Advisory Database
          •
          Updated May 15, 2024 
      
  
Package
Affected versions
>= 2017.12.0, < 2017.12.0.1
      >= 5.4.0, < 5.4.11.1
      >= 5.3.0, < 5.3.6.1
  Patched versions
2017.12.0.1
      5.4.11.1
      5.3.6.1
  Description
        Published to the GitHub Advisory Database
      May 15, 2024 
    
  
        Reviewed
      May 15, 2024 
    
  
        Last updated
      May 15, 2024 
    
  
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:
ezsystems/ezfind@51c17ea
References