CVE-2025-3193
Algoliasearch-helper vulnerability
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
Algoliasearch-helper. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Algoliasearch-helper runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/algolia/algoliasearch-helper-js/commit/776dff23c87b0902e554e02a8c2567d2580fe12a · Patch
- github.com/algolia/algoliasearch-helper-js/issues/922 · Exploit
- security.snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-3318396 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2025-3193
- github.com/advisories/GHSA-529q-4j3p-7c5r
- nvd.nist.gov/vuln/detail/CVE-2025-3193
- cve.org/CVERecord?id=CVE-2025-3193
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.