{"answers":{"affected":"6 open source packages ship an affected version, including ezsystems/ezfind-ls.","exploited":"There is no known exploitation of GHSA-9cq2-pcgr-8h62 in the wild and no public exploit code.","fix":"Upgrade ezsystems/ezfind-ls to a fixed version for your release line: 2017.12.0.1, 5.3.6.1 or 5.4.11.1.","what":"GHSA-9cq2-pcgr-8h62 is a cross-site scripting vulnerability in ezsystems/ezfind-ls, published on 15 May 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for GHSA-9cq2-pcgr-8h62 and fix it if it is affected.\n\nWhat it is: GHSA-9cq2-pcgr-8h62 is a cross-site scripting vulnerability in ezsystems/ezfind-ls, published on 15 May 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of GHSA-9cq2-pcgr-8h62 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ezsystems/ezfind-ls (Packagist): affected from 2017.12.0; fixed in 2017.12.0.1\n- ezsystems/ezfind-ls (Packagist): affected from 2017.12.0; fixed in 2017.12.0.1\n- ezsystems/ezfind-ls (Packagist): affected from 5.3.0; fixed in 5.3.6.1\n- ezsystems/ezfind-ls (Packagist): affected from 5.3.0; fixed in 5.3.6.1\n- ezsystems/ezfind-ls (Packagist): affected from 5.4.0; fixed in 5.4.11.1\n- ezsystems/ezfind-ls (Packagist): affected from 5.4.0; fixed in 5.4.11.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-9cq2-pcgr-8h62/ (Markdown: https://insights.sbomify.com/GHSA-9cq2-pcgr-8h62/index.md)","id":"GHSA-9cq2-pcgr-8h62","markdown":"https://insights.sbomify.com/GHSA-9cq2-pcgr-8h62/index.md","name":"GHSA-9cq2-pcgr-8h62","record":{"aliases":[],"analysis":{"component_type":"cms_plugin","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"eZ Platform extension","requires_auth":"none","summary":"Reflected XSS in eZ Find spellcheck allows attackers to inject scripts if the feature is enabled, requiring user interaction to exploit.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"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.\n \nIf 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:\n{$search_extras.spellcheck_collation|wash}\n \nTo install, use Composer to update to one of the \"Resolving versions\" mentioned above, or apply this patch manually:\nhttps://github.com/ezsystems/ezfind/commit/51c17ea9b1231c20db8221f34d01c649060f1e91","ecosystems":["Packagist"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Cross-site Scripting in eZFind spellcheck","id":"GHSA-9cq2-pcgr-8h62","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2024"},"n_packages":6,"n_references":null,"packages":[{"ecosystem":"Packagist","fixed":["2017.12.0.1"],"introduced":["2017.12.0"],"last_affected":[],"package":"ezsystems/ezfind-ls","purl":null,"source":"GHSA-9cq2-pcgr-8h62"},{"ecosystem":"Packagist","fixed":["2017.12.0.1"],"introduced":["2017.12.0"],"last_affected":[],"package":"ezsystems/ezfind-ls","purl":"pkg:composer/ezsystems/ezfind-ls","source":"GHSA-9cq2-pcgr-8h62"},{"ecosystem":"Packagist","fixed":["5.3.6.1"],"introduced":["5.3.0"],"last_affected":[],"package":"ezsystems/ezfind-ls","purl":null,"source":"GHSA-9cq2-pcgr-8h62"},{"ecosystem":"Packagist","fixed":["5.3.6.1"],"introduced":["5.3.0"],"last_affected":[],"package":"ezsystems/ezfind-ls","purl":"pkg:composer/ezsystems/ezfind-ls","source":"GHSA-9cq2-pcgr-8h62"},{"ecosystem":"Packagist","fixed":["5.4.11.1"],"introduced":["5.4.0"],"last_affected":[],"package":"ezsystems/ezfind-ls","purl":null,"source":"GHSA-9cq2-pcgr-8h62"},{"ecosystem":"Packagist","fixed":["5.4.11.1"],"introduced":["5.4.0"],"last_affected":[],"package":"ezsystems/ezfind-ls","purl":"pkg:composer/ezsystems/ezfind-ls","source":"GHSA-9cq2-pcgr-8h62"}],"products":null,"published":"2024-05-15","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Reflected XSS in eZ Find spellcheck allows attackers to inject scripts if the feature is enabled, requiring user interaction to exploit.","url":"https://insights.sbomify.com/GHSA-9cq2-pcgr-8h62/"}