{"id":"GHSA-529q-4j3p-7c5r","summary":"algoliasearch-helper is vulnerable to Prototype Pollution in _merge()","details":"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.\n\nThis is related to but distinct from the issue reported in [CVE-2021-23433](https://security.snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-1570421).\n\n**NOTE:** This vulnerability is not exploitable in the default configuration of InstantSearch since searchParameters are not modifiable by users.","aliases":["CVE-2025-3193"],"modified":"2025-09-30T21:27:27.707214Z","published":"2025-09-27T06:30:52Z","database_specific":{"nvd_published_at":"2025-09-27T05:15:30Z","cwe_ids":["CWE-1321"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2025-09-30T20:54:39Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-3193"},{"type":"WEB","url":"https://github.com/algolia/algoliasearch-helper-js/issues/922"},{"type":"WEB","url":"https://github.com/algolia/algoliasearch-helper-js/commit/776dff23c87b0902e554e02a8c2567d2580fe12a"},{"type":"PACKAGE","url":"https://github.com/algolia/algoliasearch-helper-js"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-3318396"}],"affected":[{"package":{"name":"algoliasearch-helper","ecosystem":"npm","purl":"pkg:npm/algoliasearch-helper"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0-rc1"},{"fixed":"3.11.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-529q-4j3p-7c5r/GHSA-529q-4j3p-7c5r.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}