Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. ezsystems/ezfind-ls
  4. ›
  5. GHSA-9cq2-pcgr-8h62

GHSA-9cq2-pcgr-8h62: Cross-site Scripting in eZFind spellcheck

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: https://github.com/ezsystems/ezfind/commit/51c17ea9b1231c20db8221f34d01c649060f1e91

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/ezsystems/ezfind-ls/2019-05-23-1.yaml
  • github.com/advisories/GHSA-9cq2-pcgr-8h62
  • github.com/ezsystems/ezfind
  • github.com/ezsystems/ezfind/commit/51c17ea9b1231c20db8221f34d01c649060f1e91
  • share.ez.no/community-project/security-advisories/ezsa-2019-003-xss-in-ezfind-spellcheck
  • web.archive.org/web/20210614183107/https://share.ez.no/community-project/security-advisories/ezsa-2019-003-xss-in-ezfind-spellcheck

Code Behaviors & Features

Detect and mitigate GHSA-9cq2-pcgr-8h62 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.3.0 before 5.3.6.1, all versions starting from 5.4.0 before 5.4.11.1, all versions starting from 2017.12.0 before 2017.12.0.1

Fixed versions

  • 2017.12.0.1
  • 5.4.11.1
  • 5.3.6.1

Solution

Upgrade to versions 2017.12.0.1, 5.3.6.1, 5.4.11.1 or above.

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/ezsystems/ezfind-ls/GHSA-9cq2-pcgr-8h62.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:11 +0000.