{"answers":{"affected":"2 open source packages ship an affected version, including algoliasearch-helper. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-3193 exists.","fix":"Upgrade algoliasearch-helper to 3.11.2 or later.","what":"CVE-2025-3193 is a high-severity code injection vulnerability in algoliasearch-helper, published on 27 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-3193 and fix it if it is affected.\n\nWhat it is: CVE-2025-3193 is a high-severity code injection vulnerability in algoliasearch-helper, published on 27 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-3193 exists.\n\nAffected packages and fixed versions:\n- algoliasearch-helper (npm): affected from 2.0.0-rc1; fixed in 3.11.2\n- algoliasearch-helper (npm): affected from 2.0.0-rc1; fixed in 3.11.2\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/CVE-2025-3193/ (Markdown: https://insights.sbomify.com/CVE-2025-3193/index.md)","id":"CVE-2025-3193","markdown":"https://insights.sbomify.com/CVE-2025-3193/index.md","name":"CVE-2025-3193","record":{"aliases":["GHSA-529q-4j3p-7c5r"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Algolia search helper","requires_auth":"none","summary":"Prototype pollution in algoliasearch-helper allows code execution via search parameters if errors are caught, requiring non-default configuration.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"snyk","cpe":[{"product":"algoliasearch-helper","vendor":"algolia"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"description":"Versions of the package algoliasearch-helper from 2.0.0-rc1 and before 3.11.2 are vulnerable to Prototype Pollution in the _merge() function in merge.js, which allows constructor.prototype to be written even though doing so throws an error. In the \"extreme edge-case\" that the resulting error is caught, code injected into the user-supplied search parameter may be exeucted.\r\rThis is related to but distinct from the issue reported in [CVE-2021-23433](https://security.snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-1570421).\r\r**NOTE:** This vulnerability is not exploitable in the default configuration of InstantSearch since searchParameters are not modifiable by users.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"algoliasearch-helper is vulnerable to Prototype Pollution in _merge()","id":"CVE-2025-3193","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"code_injection","year":"2025"},"n_packages":2,"n_references":3,"next":{"headline":"bigint-buffer Vulnerable to Buffer Overflow via toBigIntLE() Function","id":"CVE-2025-3194"},"packages":[{"ecosystem":"npm","fixed":["3.11.2"],"introduced":["2.0.0-rc1"],"last_affected":[],"package":"algoliasearch-helper","purl":null,"source":"GHSA-529q-4j3p-7c5r"},{"ecosystem":"npm","fixed":["3.11.2"],"introduced":["2.0.0-rc1"],"last_affected":[],"package":"algoliasearch-helper","purl":"pkg:npm/algoliasearch-helper","source":"GHSA-529q-4j3p-7c5r"}],"prev":{"headline":"Browsershot Server-Side Request Forgery (SSRF) via setURL() Function","id":"CVE-2025-3192"},"products":["algoliasearch-helper"],"published":"2025-09-27","related":[{"cvss_score":5.9,"headline":"Prototype Pollution","id":"CVE-2021-23433","kev_date_added":null,"published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-08","vendors":["n/a"]},"summary":"Prototype pollution in algoliasearch-helper allows code execution via search parameters if errors are caught, requiring non-default configuration.","url":"https://insights.sbomify.com/CVE-2025-3193/"}