{"id":"CVE-2025-3193","published":"2025-09-27T05:00:07Z","modified":"2026-08-08T15:25:22Z","title":"Versions of the package algoliasearch-helper from 2.0.0-rc1 and before 3.11.2 are vulnerable to Prototype Pollution in…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00516,"percentile":0.44802,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-3318396","tags":[]},{"url":"https://github.com/algolia/algoliasearch-helper-js/issues/922","tags":[]},{"url":"https://github.com/algolia/algoliasearch-helper-js/commit/776dff23c87b0902e554e02a8c2567d2580fe12a","tags":[]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":8.96},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"algoliasearch-helper","versions":[">= 2.0.0-rc1, < 3.11.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-09-29T13:34:39.990542Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"algoliasearch-helper","vulnerableRanges":[">=2.0.0-rc1, <3.11.2"],"patched":["3.11.2"],"from":["GHSA-529q-4j3p-7c5r"],"provenance":"source"}],"summary":{"text":"The algoliasearch-helper JavaScript package, versions from 2.0.0-rc1 up to but not including 3.11.2, contains a prototype pollution flaw in the _merge() function in merge.js, which allows constructor.prototype to be written even though the write throws an error. An attacker who can supply the user-controlled search parameter over the network, with no authentication or user interaction required, could in an extreme edge case where that error is caught get code injected via that parameter executed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:36:24Z"},"euvd":{"id":"EUVD-2025-31407","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-algoliasearch-helper-cve-2021-23433","parents":[{"from":"CVE-2021-23433","to":"CVE-2025-3193","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/functions/merge.js"],"commits":["https://github.com/algolia/algoliasearch-helper-js/commit/4ff542b70b92a6b81cce8b9255700b0bc0817edd","https://github.com/algolia/algoliasearch-helper-js/commit/776dff23c87b0902e554e02a8c2567d2580fe12a"],"basis":"shared function","functions":["_merge"]},{"kind":"similar","provenance":"machine","score":0.4,"basis":"same package + description similarity"}]}]}}