A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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. This is related to but distinct from the issue reported in [CVE-2021-23433](https://security.snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-1570421). **NOTE:** This vulnerability is not exploitable in the default configuration of InstantSearch since searchParameters are not modifiable by users.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Algolia algoliasearch-helper
Weakness type
References
- github.com /algolia/algoliasearch-helper-js/commit/776dff23c87b0902e55…
- github.com /algolia/algoliasearch-helper-js/issues/922
- security.snyk.io /vuln/SNYK-JS-ALGOLIASEARCHHELPER-3318396
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning