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. This is related to but distinct from the issue reported in CVE-2021-23433. NOTE: This vulnerability is not exploitable in the default configuration of InstantSearch since searchParameters are not modifiable by users.
{
"cna_assigner": "snyk",
"cwe_ids": [
"CWE-1321"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/3xxx/CVE-2025-3193.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:algolia:algoliasearch-helper:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "2.0.0"
},
{
"fixed": "3.11.2"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "776dff23c87b0902e554e02a8c2567d2580fe12a"
}
],
"source": "REFERENCES_COMMIT"
}
]
}