CVE-2021-23433
published 2021-11-19CVE-2021-23433: The package algoliasearch-helper before 3.6.2 are vulnerable to Prototype Pollution due to use of the merge function in…
PriorityP350critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
1.56%
72.2th percentile
The package algoliasearch-helper before 3.6.2 are vulnerable to Prototype Pollution due to use of the merge function in src/SearchParameters/index.jsSearchParameters._parseNumbers without any protection against prototype properties. Note that this vulnerability is only exploitable if the implementation allows users to define arbitrary search patterns.
Affected
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| algolia | algoliasearch-helper | < 3.6.2 | 3.6.2 |
| algolia | algoliasearch-helper | >= 0 < 3.6.2 | 3.6.2 |
| algolia | algoliasearch-helper | >= 2.0.0 < 3.11.2 | 3.11.2 |
| algolia | algoliasearch-helper | >= 2.0.0-rc1 < 3.11.2 | 3.11.2 |
| algolia | algoliasearch-helper | >= 2.0.0-rc1 < 3.11.2 | 3.11.2 |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
ghsa9.8CRITICAL
osv9.8CRITICAL
vendor_redhat5.9MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
algoliasearch-helper is vulnerable to Prototype Pollution in _merge()
ghsa·2025-09-27·CVSS 9.8
CVE-2025-3193 [CRITICAL] CWE-1321 algoliasearch-helper is vulnerable to Prototype Pollution in _merge()
algoliasearch-helper is vulnerable to Prototype Pollution in _merge()
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.
OSV
algoliasearch-helper is vulnerable to Prototype Pollution in _merge()
osv·2025-09-27·CVSS 9.8
CVE-2025-3193 [CRITICAL] algoliasearch-helper is vulnerable to Prototype Pollution in _merge()
algoliasearch-helper is vulnerable to Prototype Pollution in _merge()
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.
OSV
Prototype Pollution in algoliasearch-helper
osv·2021-11-23
CVE-2021-23433 [CRITICAL] Prototype Pollution in algoliasearch-helper
Prototype Pollution in algoliasearch-helper
The package algoliasearch-helper before 3.6.2 are vulnerable to Prototype Pollution due to use of the merge function in src/SearchParameters/index.jsSearchParameters._parseNumbers without any protection against prototype properties. Note that this vulnerability is only exploitable if the implementation allows users to define arbitrary search patterns.
GHSA
Prototype Pollution in algoliasearch-helper
ghsa·2021-11-23
CVE-2021-23433 [CRITICAL] CWE-1321 Prototype Pollution in algoliasearch-helper
Prototype Pollution in algoliasearch-helper
The package algoliasearch-helper before 3.6.2 are vulnerable to Prototype Pollution due to use of the merge function in src/SearchParameters/index.jsSearchParameters._parseNumbers without any protection against prototype properties. Note that this vulnerability is only exploitable if the implementation allows users to define arbitrary search patterns.
Red Hat
algoliasearch-helper: algoliasearch-helper prototype pollution
vendor_redhat·2025-09-27·CVSS 5.9
CVE-2025-3193 [MEDIUM] CWE-1321 algoliasearch-helper: algoliasearch-helper prototype pollution
algoliasearch-helper: algoliasearch-helper prototype pollution
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.
A prototype pollution flaw has been discovered in the npm algoliasearc
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/algolia/algoliasearch-helper-js/blob/3.5.5/src/SearchParameters/index.js%23L291https://github.com/algolia/algoliasearch-helper-js/commit/4ff542b70b92a6b81cce8b9255700b0bc0817eddhttps://snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-1570421https://github.com/algolia/algoliasearch-helper-js/blob/3.5.5/src/SearchParameters/index.js%23L291https://github.com/algolia/algoliasearch-helper-js/commit/4ff542b70b92a6b81cce8b9255700b0bc0817eddhttps://snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-1570421
2021-11-19
Published